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 |
| string |
filepath |
|
Returns
View Source
GetFileSize(string)
Declaration
long GetFileSize(string filepath)
Parameters
| Type |
Name |
Description |
| string |
filepath |
|
Returns
View Source
SetFileContent(string, Stream)
Declaration
void SetFileContent(string filepath, Stream content)
Parameters
| Type |
Name |
Description |
| string |
filepath |
|
| Stream |
content |
|