SharpPages
Assembly: ServiceStack.Common.dll
View Source
Declaration
public class SharpPages : ISharpPages
Properties
Context
View Source
Declaration
public ScriptContext Context { get; }
Fields
Layout
View Source
Declaration
public static string Layout
Methods
ResolveLayoutPage(SharpPage, String)
View Source
Declaration
public virtual SharpPage ResolveLayoutPage(SharpPage page, string layout)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.Script.SharpPage | page |
System.String | layout |
ResolveLayoutPage(SharpCodePage, String)
View Source
Declaration
public virtual SharpPage ResolveLayoutPage(SharpCodePage page, string layout)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.Script.SharpCodePage | page |
System.String | layout |
GetCodePage(String)
View Source
Declaration
public SharpCodePage GetCodePage(string virtualPath)
Returns
ServiceStack.Script.SharpCodePage
Parameters
Type | Name |
---|---|
System.String | virtualPath |
AddPage(String, IVirtualFile)
View Source
Declaration
public virtual SharpPage AddPage(string virtualPath, IVirtualFile file)
Returns
Parameters
Type | Name |
---|---|
System.String | virtualPath |
ServiceStack.IO.IVirtualFile | file |
TryGetPage(String)
View Source
Declaration
public virtual SharpPage TryGetPage(string path)
Returns
Parameters
Type | Name |
---|---|
System.String | path |
GetPage(String)
View Source
Declaration
public virtual SharpPage GetPage(string pathInfo)
Returns
Parameters
Type | Name |
---|---|
System.String | pathInfo |
OneTimePage(String, String)
View Source
Declaration
public virtual SharpPage OneTimePage(string contents, string ext)
Returns
Parameters
Type | Name |
---|---|
System.String | contents |
System.String | ext |
OneTimePage(String, String, Action<SharpPage>)
View Source
Declaration
public 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 |
GetLastModified(SharpPage)
View Source
Declaration
public DateTime GetLastModified(SharpPage page)
Returns
System.DateTime
Parameters
Type | Name |
---|---|
ServiceStack.Script.SharpPage | page |
GetLastModifiedPage(SharpPage)
View Source
Declaration
public DateTime GetLastModifiedPage(SharpPage page)
Returns
System.DateTime
Parameters
Type | Name |
---|---|
ServiceStack.Script.SharpPage | page |