![]() |
Razor
|
The RazorView type exposes the following members.
Name | Description | |
---|---|---|
![]() | RazorView(IRazorEngine, String, ActionException) | Creates a new RazorView. |
![]() | RazorView(IRazorEngine, String, Object, Type, Type, Type, AdoDataConnection, ActionException, ReadonlyWebServerOptions) | Creates a new RazorView. |
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. |
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
![]() | Execute | Compiles and executes view template. |
![]() | Execute(HttpRequestMessage, HttpResponseMessage) | Compiles and executes view template for specified request message and post data. |
![]() | ExecuteAsync | Asynchronously compiles and executes view template for specified request message and post data. |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object) |
Name | Description | |
---|---|---|
![]() | GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |
![]() | GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |