[This is preliminary documentation and is subject to change.]
The Error type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | Error | Initializes a new instance of the Error class |
Methods
Name | Description | |
---|---|---|
![]() | BindGlobalContexts |
Infrastructure. Sets Context property. Normally this method should never be called by developers
(Inherited from Template TContext, TTarget, TRenderingContext .) |
![]() | defaultFooter | (Inherited from Master.) |
![]() | DoContextBinding |
Infrastructure. Override to perform extra steps after Context property gets set.
Normally this method should never be called by developers
(Inherited from Template TContext, TTarget, TRenderingContext .) |
![]() | DoPostRender | (Inherited from WaveTemplate.) |
![]() | DoPreRender |
Performs pre-rendering actions
(Inherited from Template TContext, TTarget, TRenderingContext .) |
![]() | DoRender | (Overrides Master DoRender .) |
![]() | ![]() | Determines whether the specified object is equal to the current object. (Inherited from ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | ![]() | Serves as the default hash function. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | Render(TTarget, TRenderingContext) |
Renders template by generating content into target
(Inherited from Template TContext, TTarget, TRenderingContext .) |
![]() | Render(ResponseRenderingTarget, Object) |
Renders template by generating content into ResponseRenderingTarget
(Inherited from WaveTemplate.) |
![]() | Render(WorkContext, Object) |
Renders template by generating content into WorkContext
(Inherited from WaveTemplate.) |
![]() | renderBody | (Overrides Master renderBody .) |
![]() | renderFooter | (Inherited from Master.) |
![]() | renderHeader | (Overrides Master renderHeader .) |
![]() | RenderToString(Boolean, Object) |
Renders template to string
(Inherited from WaveTemplate.) |
![]() | RenderToString(WorkContext, Boolean, Object) |
Renders template to string in a WorkContext
(Inherited from WaveTemplate.) |
![]() | showDumpBody | |
![]() | showException | |
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
Extension Methods
Fields
Name | Description | |
---|---|---|
![]() | ErrorCause | |
![]() | ShowDump |
Properties
Name | Description | |
---|---|---|
![]() | CanReuseInstance |
Override to indicate whetner the instance of the template may be reused for processing of other requests
(possibly by parallel threads). Override to return false if there is any per-request state shared in instance fields
False by default so multiple requests can not reuse the instance
(Inherited from WaveTemplate.) |
![]() | ContentType |
Override to provides response content type. Default value is HTML
(Inherited from WaveTemplate.) |
![]() | Context |
Custom context for the lifetime of this template
(Inherited from Template TContext, TTarget, TRenderingContext .) |
![]() | CSRFToken |
Returns CSRF token for session if it is available or null
(Inherited from WaveTemplate.) |
![]() | RenderingContext |
Returns thread-local rendering context which is specific for this call to Render()
(Inherited from Template TContext, TTarget, TRenderingContext .) |
![]() | Response | (Inherited from WaveTemplate.) |
![]() | Session |
Returns session if it is available or null
(Inherited from WaveTemplate.) |
![]() | Target |
Returns thread-local target which is specific for this call to Render()
(Inherited from Template TContext, TTarget, TRenderingContext .) |
![]() | Title | (Overrides Master Title.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() | ITemplate Context | (Inherited from Template TContext, TTarget, TRenderingContext .) |
![]() ![]() | ITemplate Render | (Inherited from Template TContext, TTarget, TRenderingContext .) |
See Also