View Source
Interface IScriptRepository
Assembly: Umbraco.Core.dll
Syntax
public interface IScriptRepository : IReadRepository<string, Script>, IWriteRepository<Script>, 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
ValidateScript(Script)
Declaration
bool ValidateScript(Script script)
Parameters
Type |
Name |
Description |
Script |
script |
|
Returns
Type |
Description |
System.Boolean |
|