View Source
Interface IPartialViewRepository
Assembly: Umbraco.Core.dll
Syntax
public interface IPartialViewRepository : IReadRepository<string, IPartialView>, IWriteRepository<IPartialView>, IRepository
Methods
View Source
AddFolder(String)
Declaration
void AddFolder(string folderPath)
Parameters
Type |
Name |
Description |
System.String |
folderPath |
|
View Source
DeleteFolder(String)
Declaration
void DeleteFolder(string folderPath)
Parameters
Type |
Name |
Description |
System.String |
folderPath |
|
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
ValidatePartialView(IPartialView)
Declaration
bool ValidatePartialView(IPartialView partialView)
Parameters
Returns
Type |
Description |
System.Boolean |
|