The TemplateContext type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TemplateContext | Initializes a new instance of the TemplateContext class |
Methods
Name | Description | |
---|---|---|
Dispose |
Cleans up all resources associated with the TemplateContext.
| |
Equals | (Inherited from Object.) | |
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 a hash function for a particular type. (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.) | |
SetContext |
Adds a CodeTemplate instance to the current thread's TemplateContext.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
CodeTemplate |
Returns the CodeTemplate that is being rendered in the current executing Thread.
| |
Current |
Returns the TemplateContext data associated with the current executing Thread.
| |
ParentCodeTemplate |
Returns the Parent CodeTemplate that is being rendered in the current executing Thread.
| |
RootCodeTemplate |
Returns the Root CodeTemplate that is being rendered in the current executing Thread.
|