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
fileServiceIFileService
Methods
GetAll()
public IEnumerable<Stylesheet> GetAll()
Returns
- IEnumerable<Stylesheet>
GetRulesByName(string)
public IEnumerable<StylesheetRule> GetRulesByName(string name)
Parameters
namestring
Returns
- IEnumerable<StylesheetRule>