Skip to main content

SharpCodePage

Assembly: ServiceStack.Common.dll​
View Source​
Declaration
public abstract class SharpCodePage : IDisposable

Properties​

VirtualPath​

View Source​
Declaration
public string VirtualPath { get; set; }

Layout​

View Source​
Declaration
public string Layout { get; set; }

LayoutPage​

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

Format​

View Source​
Declaration
public PageFormat Format { get; set; }

Args​

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

Context​

View Source​
Declaration
public ScriptContext Context { get; set; }

Pages​

View Source​
Declaration
public ISharpPages Pages { get; set; }

Scope​

View Source​
Declaration
public ScriptScopeContext Scope { get; set; }

HasInit​

View Source​
Declaration
public bool HasInit { get; }

Methods​

WriteAsync(ScriptScopeContext)​

View Source​
Declaration
public async Task WriteAsync(ScriptScopeContext scope)
Returns​

System.Threading.Tasks.Task

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope

Init()​

View Source​
Declaration
public virtual SharpCodePage Init()
Returns​

ServiceStack.Script.SharpCodePage

Dispose()​

View Source​
Declaration
public virtual void Dispose()

Implements​

  • System.IDisposable