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
Type | Name |
---|---|
ServiceStack.Html.IViewEngine | viewEngine |
IRequest | httpReq |
IResponse | httpRes |
SetModel(Object)
View Source
Declaration
public override void SetModel(object o)
Parameters
Type | Name |
---|---|
System.Object | o |
WriteTo(StreamWriter)
View Source
Declaration
public void WriteTo(StreamWriter writer)
Parameters
Type | Name |
---|---|
System.IO.StreamWriter | writer |
Implements
- ServiceStack.Razor.IHasModel
- ServiceStack.Html.IRazorView
System.IDisposable