TemplateExpand Method (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.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public NameValueCollection Expand(
IAppContext appCxt,
NameValueCollection nameValues,
out string bodyHigh,
out string bodyLow,
out string subject
)
Public Function Expand (
appCxt As IAppContext,
nameValues As NameValueCollection,
<OutAttribute> ByRef bodyHigh As String,
<OutAttribute> ByRef bodyLow As String,
<OutAttribute> ByRef subject As String
) As NameValueCollection
Parameters
- appCxt
- Type: NetQuarryIAppContext
The application context object. - nameValues
- Type: System.Collections.SpecializedNameValueCollection
The name / values to use during subsitution. - bodyHigh
- Type: SystemString
The High resolution version of the template. - bodyLow
- Type: SystemString
The Low resolution version of the template. - subject
- Type: SystemString
The template's subject, with subsitution performed.
Return Value
Type:
NameValueCollectionThe name / values. The returned collection is guarenteed to be non-null and contain a value for "std_footer."
See Also