View Source
Interface IFileRepository
Assembly: Umbraco.Core.dll
Syntax
public interface IFileRepository
Methods
View Source
GetFileContentStream(String)
Declaration
Stream GetFileContentStream(string filepath)
Parameters
Type |
Name |
Description |
System.String |
filepath |
|
Returns
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 |
|
Stream |
content |
|