Skip to main content

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​

ServiceStack.Script.SharpPage

Parameters​
TypeName
ServiceStack.Script.SharpPagepage
System.Stringlayout

AddPage(String, IVirtualFile)​

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

ServiceStack.Script.SharpPage

Parameters​
TypeName
System.StringvirtualPath
ServiceStack.IO.IVirtualFilefile

GetPage(String)​

View Source​
Declaration
SharpPage GetPage(string virtualPath)
Returns​

ServiceStack.Script.SharpPage

Parameters​
TypeName
System.StringvirtualPath

TryGetPage(String)​

View Source​
Declaration
SharpPage TryGetPage(string path)
Returns​

ServiceStack.Script.SharpPage

Parameters​
TypeName
System.Stringpath

OneTimePage(String, String)​

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

ServiceStack.Script.SharpPage

Parameters​
TypeName
System.Stringcontents
System.Stringext

OneTimePage(String, String, Action<SharpPage>)​

View Source​
Declaration
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

ResolveLayoutPage(SharpCodePage, String)​

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

ServiceStack.Script.SharpPage

Parameters​
TypeName
ServiceStack.Script.SharpCodePagepage
System.Stringlayout

GetCodePage(String)​

View Source​
Declaration
SharpCodePage GetCodePage(string virtualPath)
Returns​

ServiceStack.Script.SharpCodePage

Parameters​
TypeName
System.StringvirtualPath

GetLastModified(SharpPage)​

View Source​
Declaration
DateTime GetLastModified(SharpPage page)
Returns​

System.DateTime

Parameters​
TypeName
ServiceStack.Script.SharpPagepage