Skip to main content

ViewPage

Assembly: ServiceStack.Razor.dll
View Source
Declaration
public abstract class ViewPage : ViewPageBase<dynamic>, IHasModel, IRazorView, IDisposable

Properties

Context

View Source
Declaration
public dynamic Context { get; set; }

ModelType

View Source
Declaration
public override Type ModelType { get; }

Fields

Html

View Source
Declaration
public HtmlHelper Html

Methods

Init(IViewEngine, IRequest, IResponse)

View Source
Declaration
public void Init(IViewEngine viewEngine, IRequest httpReq, IResponse httpRes)
Parameters
TypeName
ServiceStack.Html.IViewEngineviewEngine
IRequesthttpReq
IResponsehttpRes

SetModel(Object)

View Source
Declaration
public override void SetModel(object o)
Parameters
TypeName
System.Objecto

WriteTo(StreamWriter)

View Source
Declaration
public void WriteTo(StreamWriter writer)
Parameters
TypeName
System.IO.StreamWriterwriter

Implements