Table of Contents

Class StylesheetController

Namespace
Umbraco.Cms.Web.BackOffice.Controllers
Assembly
Umbraco.Web.BackOffice.dll

The API controller used for retrieving available stylesheets

[Authorize(Policy = "SectionAccessContent")]
public class StylesheetController : UmbracoAuthorizedJsonController
Inheritance
StylesheetController
Inherited Members

Constructors

StylesheetController(IFileService)

public StylesheetController(IFileService fileService)

Parameters

fileService IFileService

Methods

GetAll()

public IEnumerable<Stylesheet> GetAll()

Returns

IEnumerable<Stylesheet>

GetRulesByName(string)

public IEnumerable<StylesheetRule> GetRulesByName(string name)

Parameters

name string

Returns

IEnumerable<StylesheetRule>