ViewPage<TModel>
Assembly: ServiceStack.Razor.dll
View Source
Declaration
public abstract class ViewPage<TModel> : ViewPageBase<TModel>, IHasModel, IRazorView, IDisposable
Properties
Counter
View Source
Declaration
public int Counter { get; set; }
HtmlHelper
View Source
Declaration
public HtmlHelper HtmlHelper { get; }
Output
View Source
Declaration
public override StreamWriter Output { get; set; }
ModelType
View Source
Declaration
public override Type ModelType { get; }
Fields
Html
View Source
Declaration
public HtmlHelper<TModel> 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