![]() | CompiledView Class |
Namespace: HandlebarsDotNet.Mvc
The CompiledView type exposes the following members.
Name | Description | |
---|---|---|
![]() | CompiledView | Initializes a new instance of the CompiledView class |
Name | Description | |
---|---|---|
![]() | FileHash |
The hash as returned from the VirtualPathProvider. This is if the VirtualPathProvider supports CacheDependency for the file.
|
![]() | Func |
The compiled function.
|
![]() | Layout |
The layout specified in the file. Null or the empty string if not specified in it. Not used when rendering.
|
![]() |
---|
You are not supposed to add to the cache yourself, that is handled by this view engine. However, if you need to call HandlebarsView.Render() yourself you need to be able to create instances of this class which is why this class is public. |