Skip to main content

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

ServiceStack.Script.SharpPage

Parameters
TypeName
ServiceStack.Script.SharpPagepage
System.Stringlayout

ResolveLayoutPage(SharpCodePage, String)

View Source
Declaration
public virtual SharpPage ResolveLayoutPage(SharpCodePage page, string layout)
Returns

ServiceStack.Script.SharpPage

Parameters
TypeName
ServiceStack.Script.SharpCodePagepage
System.Stringlayout

GetCodePage(String)

View Source
Declaration
public SharpCodePage GetCodePage(string virtualPath)
Returns

ServiceStack.Script.SharpCodePage

Parameters
TypeName
System.StringvirtualPath

AddPage(String, IVirtualFile)

View Source
Declaration
public virtual SharpPage AddPage(string virtualPath, IVirtualFile file)
Returns

ServiceStack.Script.SharpPage

Parameters
TypeName
System.StringvirtualPath
ServiceStack.IO.IVirtualFilefile

TryGetPage(String)

View Source
Declaration
public virtual SharpPage TryGetPage(string path)
Returns

ServiceStack.Script.SharpPage

Parameters
TypeName
System.Stringpath

GetPage(String)

View Source
Declaration
public virtual SharpPage GetPage(string pathInfo)
Returns

ServiceStack.Script.SharpPage

Parameters
TypeName
System.StringpathInfo

OneTimePage(String, String)

View Source
Declaration
public virtual SharpPage OneTimePage(string contents, string ext)
Returns

ServiceStack.Script.SharpPage

Parameters
TypeName
System.Stringcontents
System.Stringext

OneTimePage(String, String, Action<SharpPage>)

View Source
Declaration
public SharpPage OneTimePage(string contents, string ext, Action<SharpPage> init)
Returns

ServiceStack.Script.SharpPage

Parameters
TypeName
System.Stringcontents
System.Stringext
System.Action<ServiceStack.Script.SharpPage>init

GetLastModified(SharpPage)

View Source
Declaration
public DateTime GetLastModified(SharpPage page)
Returns

System.DateTime

Parameters
TypeName
ServiceStack.Script.SharpPagepage

GetLastModifiedPage(SharpPage)

View Source
Declaration
public DateTime GetLastModifiedPage(SharpPage page)
Returns

System.DateTime

Parameters
TypeName
ServiceStack.Script.SharpPagepage

Implements