Skip to main content

SharpPage

Assembly: ServiceStack.Common.dll​
View Source​
Declaration
public class SharpPage

Properties​

ScriptLanguage​

Whether to evaluate as Template block or code block

View Source​
Declaration
public ScriptLanguage ScriptLanguage { get; set; }

File​

View Source​
Declaration
public IVirtualFile File { get; }

FileContents​

View Source​
Declaration
public ReadOnlyMemory<char> FileContents { get; }

BodyContents​

View Source​
Declaration
public ReadOnlyMemory<char> BodyContents { get; }

Args​

View Source​
Declaration
public Dictionary<string, object> Args { get; protected set; }

LayoutPage​

View Source​
Declaration
public SharpPage LayoutPage { get; set; }

PageFragments​

View Source​
Declaration
public PageFragment[] PageFragments { get; set; }

LastModified​

View Source​
Declaration
public DateTime LastModified { get; set; }

LastModifiedCheck​

View Source​
Declaration
public DateTime LastModifiedCheck { get; }

HasInit​

View Source​
Declaration
public bool HasInit { get; }

IsLayout​

View Source​
Declaration
public bool IsLayout { get; }

IsImmutable​

View Source​
Declaration
public bool IsImmutable { get; }

Context​

View Source​
Declaration
public ScriptContext Context { get; }

Format​

View Source​
Declaration
public PageFormat Format { get; }

IsTempFile​

View Source​
Declaration
public bool IsTempFile { get; }

VirtualPath​

View Source​
Declaration
public string VirtualPath { get; }

Methods​

Init()​

View Source​
Declaration
public virtual async Task<SharpPage> Init()
Returns​

System.Threading.Tasks.Task<ServiceStack.Script.SharpPage>

Load()​

View Source​
Declaration
public async Task<SharpPage> Load()
Returns​

System.Threading.Tasks.Task<ServiceStack.Script.SharpPage>