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
  
    [Authorize(Policy = "SectionAccessContent")]
public class StylesheetController : UmbracoAuthorizedJsonController
   
  Constructors
  
  
    View Source
  
  StylesheetController(IFileService)
  
  
  Declaration
  
    public StylesheetController(IFileService fileService)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | IFileService | 
        fileService | 
         | 
      
    
  
  Methods
  
  
    View Source
  
  GetAll()
  
  
  Declaration
  
    public IEnumerable<Models.ContentEditing.Stylesheet> GetAll()
   
  Returns
  
  
    View Source
  
  GetRulesByName(String)
  
  
  Declaration
  
    public IEnumerable<StylesheetRule> GetRulesByName(string name)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        name | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | IEnumerable<StylesheetRule> | 
         |