-
Notifications
You must be signed in to change notification settings - Fork 86
macro element
RobertTheGrey edited this page Jan 12, 2013
·
1 revision
Declares a member helper function
available to all templates while rendering.
<macro name="anyName" x="t1" y="t2">anyXml</macro>
Results in C#
public string anyName(t1 x, t2 y)
{
//anyXml-generated-code
}
Macros may be used invoked as part of an output expression ${anyName(a,b)}
or any place else code appears like <set z="anyName(a,b)"/>
or # z=anyName(a,b);