ISharpPages
Assembly: ServiceStack.Common.dll
View Source
Declaration
public interface ISharpPages
Methods
ResolveLayoutPage(SharpPage, String)
View Source
Declaration
SharpPage ResolveLayoutPage(SharpPage page, string layout)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.Script.SharpPage | page |
System.String | layout |
AddPage(String, IVirtualFile)
View Source
Declaration
SharpPage AddPage(string virtualPath, IVirtualFile file)
Returns
Parameters
Type | Name |
---|---|
System.String | virtualPath |
ServiceStack.IO.IVirtualFile | file |
GetPage(String)
View Source
Declaration
SharpPage GetPage(string virtualPath)
Returns
Parameters
Type | Name |
---|---|
System.String | virtualPath |
TryGetPage(String)
View Source
Declaration
SharpPage TryGetPage(string path)
Returns
Parameters
Type | Name |
---|---|
System.String | path |
OneTimePage(String, String)
View Source
Declaration
SharpPage OneTimePage(string contents, string ext)
Returns
Parameters
Type | Name |
---|---|
System.String | contents |
System.String | ext |
OneTimePage(String, String, Action<SharpPage>)
View Source
Declaration
SharpPage OneTimePage(string contents, string ext, Action<SharpPage> init)
Returns
Parameters
Type | Name |
---|---|
System.String | contents |
System.String | ext |
System.Action<ServiceStack.Script.SharpPage> | init |
ResolveLayoutPage(SharpCodePage, String)
View Source
Declaration
SharpPage ResolveLayoutPage(SharpCodePage page, string layout)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.Script.SharpCodePage | page |
System.String | layout |
GetCodePage(String)
View Source
Declaration
SharpCodePage GetCodePage(string virtualPath)
Returns
ServiceStack.Script.SharpCodePage
Parameters
Type | Name |
---|---|
System.String | virtualPath |
GetLastModified(SharpPage)
View Source
Declaration
DateTime GetLastModified(SharpPage page)
Returns
System.DateTime
Parameters
Type | Name |
---|---|
ServiceStack.Script.SharpPage | page |