The Template type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AddKey |
Adds a custom key used by this template.
| |
| ClearDataSources |
Clears all data sources for this template.
| |
| Create |
Creates new template using specified template text.
| |
| DataFrom(IDictionary) |
Specifies IDictionary that will be used as a data source for this template.
If the method is called more than once, only last object is used.
| |
| DataFrom(Object) |
Specifies object that will be used as a data source for this template.
If the method is called more than once, only last object is used.
| |
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| FromFile |
Loads a template from file.
| |
| 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.) | |
| PermanentDataFrom(IDictionary) |
Specifies IDictionart that will be used as a data source for this template.
If the method is called more than once, all objects are used.
| |
| PermanentDataFrom(Object) |
Specifies object that will be used as a data source for this template.
If the method is called more than once, all objects are used.
| |
| Render |
Renders the template.
| |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Item |
Gets or sets custom keys used by this template.
|