Search Results for

    Show / Hide Table of Contents
    View Source

    Class StylesheetController

    The API controller used for retrieving available stylesheets

    Inheritance
    System.Object
    Microsoft.AspNetCore.Mvc.ControllerBase
    UmbracoApiControllerBase
    UmbracoApiController
    UmbracoAuthorizedApiController
    UmbracoAuthorizedJsonController
    Namespace: Umbraco.Cms.Web.BackOffice.Controllers
    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
    Type Name Description
    IFileService fileService

    Methods

    View Source

    GetAll()

    Declaration
    public IEnumerable<Stylesheet> GetAll()
    Returns
    Type Description
    IEnumerable<Stylesheet>
    View Source

    GetRulesByName(String)

    Declaration
    public IEnumerable<StylesheetRule> GetRulesByName(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    IEnumerable<StylesheetRule>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • StylesheetController(IFileService)
    • Methods
      • GetAll()
      • GetRulesByName(String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX