Template Methods |
The Template type exposes the following members.
Name | Description | |
---|---|---|
Clone |
Returns a MemberwiseClone copy of this object.
| |
Equals | (Inherited from Object.) | |
Expand(IAppContext, NameValueCollection, String, String, String) |
Expands the template using the nameValues.
Unless both High and Low resolutions are required, it is recommend
that you use Expand(IAppContext, NameValueCollection, ContentResolution, String, String, String) to avoid
spurious devlog entries and for slighly better performace.
See Expand(IAppContext, NameValueCollection, ContentResolution, String, String, String) for more information about template expansion.
| |
Expand(IAppContext, NameValueCollection, ContentResolution, String, String, String) |
Expands the template using the nameValues.
| |
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.) | |
FireEvent |
Fires the specified ExtensionEvents against the template's extensions.
See TemplateExtensionBase for information about available template events.
| |
GetExpandedBody |
Expands the template using the nameValues.
See Expand(IAppContext, NameValueCollection, ContentResolution, String, String, String) for additional
information about template expansion.
| |
GetExpandedSubject |
Returns the subject expanded with the items from the nameValues
| |
GetFieldList(ContentResolution) | Obsolete.
Gets a semi-colon-separated field list appropriate for use as an IncludeFields string.
Note this method is deprecated in favor of GetFieldList(IAppContext, ContentResolution, TemplateReplaceFlags) because an IAppContext
is required in order to include any inner template fields (see Template.
| |
GetFieldList(IAppContext, ContentResolution, TemplateReplaceFlags) |
Gets a semi-colon-separated field list appropriate for use as an IncludeFields string.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetTemplateNodes |
Gets the collection of TemplateNode objects describing this template.
The collection will be loaded if it has not yet been loaded.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Replace(NameValueCollection) |
Replaces the named tags in the document with the values in the NameValueCollection.
Note that this overload does not support embedded function resolution.
Use the Replace(IAppContext, NameValueCollection, ContentResolution, TemplateReplaceFlags) overload
if embedded function resolution is desired.
| |
Replace(NameValueCollection, ContentResolution) |
Replaces the named tags in the document with the values in the NameValueCollection.
Note that this overload does not support embedded function resolution.
Use the Replace(IAppContext, NameValueCollection, ContentResolution, TemplateReplaceFlags) overload
if embedded function resolution is desired.
| |
Replace(NameValueCollection, ContentResolution, TemplateReplaceFlags) |
Replaces the named tags in the document with the values in the NameValueCollection.
Note that this overload does not support embedded function resolution.
Use the Replace(IAppContext, NameValueCollection, ContentResolution, TemplateReplaceFlags) overload
if embedded function resolution is desired.
| |
Replace(IAppContext, NameValueCollection, ContentResolution, TemplateReplaceFlags) |
Replaces the named tags in the document with the values in the NameValueCollection.
Note that this overload does support embedded function resolution using EmbeddedParser.
Replace expands the template body using only the values in nameValues. To get the expanded body use GetExpandedBody(IAppContext, NameValueCollection, ContentResolution) or Expand(IAppContext, NameValueCollection, ContentResolution, String, String, String). These methods provide additional functionality as described in Expand(IAppContext, NameValueCollection, ContentResolution, String, String, String). | |
ToString | (Inherited from Object.) | |
UsesNodeBasedExpansion |
Gets whether or not this template uses the new node-based template expansion. To enable node-based expansion
system-wide, set the UseNodeBasedTemplateExpansionCompatibility feature. To enable it for a
particular template only set the template's UseNewTemplateExpansion attribute.
|
Name | Description | |
---|---|---|
EqualValue |
Determines if the object value is equal to another object. If the two objects are null, then this returns true.
There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways).
If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.) |