|
|
Razor
|
The RazorView type exposes the following members.
| Name | Description | |
|---|---|---|
|
|
Database | Gets or sets database connection to provide to DataContext, if any. |
|
|
DataContextEngine | Gets or sets IRazorEngine to use for the DataContext provided to the view; defaults to null. |
|
|
ExceptionHandler | Gets or sets delegate used to handle exceptions. |
|
|
Item | Gets query string parameter specified by key. |
|
|
Model | Gets or sets reference to model to use when rendering template. |
|
|
ModelType | Gets or sets type of Model. |
|
|
PagedViewModelDataType | Gets or sets type of data model for views based on paged view model. |
|
|
PagedViewModelHubType | Gets or sets type of SignalR hub for views based on paged view model. |
|
|
Parameters | Gets a dictionary of query string parameters passed to rendered view. |
|
|
RazorEngine | Gets reference to IRazorEngine used by this RazorView. |
|
|
TemplateName | Gets or sets name of template file. |
|
|
ViewBag | Gets reference to view bag used when rendering template. |
|
|
WebServerOptions | Gets or sets the web server options currently in use. |