View Source
Interface IStylesheetRepository
Assembly: Umbraco.Core.dll
Syntax
public interface IStylesheetRepository : IReadRepository<string, Stylesheet>, IWriteRepository<Stylesheet>, IRepository
Methods
View Source
GetFileContentStream(String)
Declaration
Stream GetFileContentStream(string filepath)
Parameters
Type |
Name |
Description |
System.String |
filepath |
|
Returns
Type |
Description |
System.IO.Stream |
|
View Source
GetFileSize(String)
Declaration
long GetFileSize(string filepath)
Parameters
Type |
Name |
Description |
System.String |
filepath |
|
Returns
Type |
Description |
System.Int64 |
|
View Source
SetFileContent(String, Stream)
Declaration
void SetFileContent(string filepath, Stream content)
Parameters
Type |
Name |
Description |
System.String |
filepath |
|
System.IO.Stream |
content |
|
View Source
ValidateStylesheet(Stylesheet)
Declaration
bool ValidateStylesheet(Stylesheet stylesheet)
Parameters
Returns
Type |
Description |
System.Boolean |
|