[This is preliminary documentation and is subject to change.]
The Template TContext, TTarget, TRenderingContext type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | Template TContext, TTarget, TRenderingContext | Initializes a new instance of the Template TContext, TTarget, TRenderingContext class |
![]() | Template TContext, TTarget, TRenderingContext (TContext) | Initializes a new instance of the Template TContext, TTarget, TRenderingContext class |
Methods
Name | Description | |
---|---|---|
![]() | BindGlobalContexts |
Infrastructure. Sets Context property. Normally this method should never be called by developers
|
![]() | DoContextBinding |
Infrastructure. Override to perform extra steps after Context property gets set.
Normally this method should never be called by developers
|
![]() | DoPostRender |
Performs post-rendering actions. Return true to rethrow error
|
![]() | DoPreRender |
Performs pre-rendering actions
|
![]() | DoRender |
Performs actual rendering
|
![]() | ![]() | 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 |
Renders template by generating content into target
|
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
Extension Methods
Properties
Name | Description | |
---|---|---|
![]() | CanReuseInstance |
Indicates whether an instance of template class may be reused for invocation of Render() more than once (possibly with different rendering target and/or rendering context)
|
![]() | Context |
Custom context for the lifetime of this template
|
![]() | RenderingContext |
Returns thread-local rendering context which is specific for this call to Render()
|
![]() | Target |
Returns thread-local target which is specific for this call to Render()
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() | ITemplate Context | |
![]() ![]() | ITemplate Render |
See Also