Skip to main content

ViewContext

Assembly: ServiceStack.Razor.dll
View Source
Declaration
public class ViewContext

Properties

ClientValidationEnabled

View Source
Declaration
public virtual bool ClientValidationEnabled { get; set; }

FormContext

View Source
Declaration
public virtual FormContext FormContext { get; set; }

UnobtrusiveJavaScriptEnabled

View Source
Declaration
public virtual bool UnobtrusiveJavaScriptEnabled { get; set; }

View

View Source
Declaration
public virtual ITemplatePage View { get; set; }

ViewData

View Source
Declaration
public virtual ViewDataDictionary ViewData { get; set; }

Writer

View Source
Declaration
public virtual TextWriter Writer { get; set; }

HttpContext

View Source
Declaration
public virtual HttpContextBase HttpContext { get; set; }

Methods

OutputClientValidation()

View Source
Declaration
public void OutputClientValidation()