The TemplateContext type exposes the following members.

Constructors

  NameDescription
Public methodTemplateContext
Initializes a new instance of the TemplateContext class

Methods

  NameDescription
Public methodDispose
Cleans up all resources associated with the TemplateContext.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberSetContext
Adds a CodeTemplate instance to the current thread's TemplateContext.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyCodeTemplate
Returns the CodeTemplate that is being rendered in the current executing Thread.
Public propertyStatic memberCurrent
Returns the TemplateContext data associated with the current executing Thread.
Public propertyParentCodeTemplate
Returns the Parent CodeTemplate that is being rendered in the current executing Thread.
Public propertyRootCodeTemplate
Returns the Root CodeTemplate that is being rendered in the current executing Thread.

See Also