Class FadTemplateVariables
Wraps a TemplateVariables instance, to keep fadX template tags recursion safe
Inherited Members
Namespace: SuperOffice.CRM.Globalization
Assembly: SoDataBase.dll
Syntax
public class FadTemplateVariables : TagContainer
Constructors
FadTemplateVariables(TemplateVariables)
Declaration
public FadTemplateVariables(TemplateVariables parent)
Parameters
Type | Name | Description |
---|---|---|
TemplateVariables | parent |
Properties
CurrentContact
Declaration
public ContactTags CurrentContact { get; set; }
Property Value
Type | Description |
---|---|
ContactTags |
CurrentPerson
Declaration
public CurrentPersonVariables CurrentPerson { get; set; }
Property Value
Type | Description |
---|---|
CurrentPersonVariables |
Id
Declaration
public override int Id { get; }
Property Value
Type | Description |
---|---|
Int32 |
Overrides
Methods
GetValue(String)
Get value, but skip fadx templates
Declaration
public override string GetValue(string tag)
Parameters
Type | Name | Description |
---|---|---|
String | tag | Name of the tag |
Returns
Type | Description |
---|---|
String | Value of the tag. An empty string is returned if there is no valid value |
Overrides
Init()
Declaration
protected override void Init()
Overrides
IsTagInContext(String)
Is this a valid tag in the given context. If there are no current sale, there are no valid tags for sale.
Declaration
public override bool IsTagInContext(string tag)
Parameters
Type | Name | Description |
---|---|---|
String | tag | Name of the tag. |
Returns
Type | Description |
---|---|
Boolean | True if the tag is valid in hte given context. |
Overrides
IsTagLegal(String)
Is this a legal tag?
Declaration
public override bool IsTagLegal(string tag)
Parameters
Type | Name | Description |
---|---|---|
String | tag | Name of the tag. |
Returns
Type | Description |
---|---|
Boolean | True is returned if this is a legal tag. |
Overrides
Extension Methods
EnumUtil.MapEnums<From, To>(From)