View Source
Class StylesheetController
The API controller used for retrieving available stylesheets
Inheritance
System.Object
Microsoft.AspNetCore.Mvc.ControllerBase
Assembly: Umbraco.Web.BackOffice.dll
Syntax
[PluginController("UmbracoApi")]
[Authorize(Policy = "SectionAccessContent")]
public class StylesheetController : UmbracoAuthorizedJsonController, IUmbracoFeature, IDiscoverable
Constructors
View Source
StylesheetController(IFileService)
Declaration
public StylesheetController(IFileService fileService)
Parameters
Methods
View Source
GetAll()
Declaration
public IEnumerable<Stylesheet> GetAll()
Returns
View Source
GetRulesByName(String)
Declaration
public IEnumerable<StylesheetRule> GetRulesByName(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns