Show / Hide Table of Contents

Class FadTemplateVariables

Wraps a TemplateVariables instance, to keep fadX template tags recursion safe

Inheritance
Object
TagContainer
FadTemplateVariables
Inherited Members
TagContainer._bInitiated
TagContainer.AddData(Object[])
TagContainer.GetData()
TagContainer.ClearData()
TagContainer.GetTags()
TagContainer.SetValue(String, String)
TagContainer.RemoveCustomValue(String)
TagContainer.CurrentUiCulture
TagContainer.Data
Namespace: SuperOffice.CRM.Globalization
Assembly: SoDataBase.dll
Syntax
public class FadTemplateVariables : TagContainer

Constructors

FadTemplateVariables(TemplateVariables)

Wraps a TemplateVariables instance, to keep fadX template tags recursion safe

Declaration
public FadTemplateVariables(TemplateVariables parent)
Parameters
Type Name Description
TemplateVariables parent

Properties

CurrentContact

Wraps a TemplateVariables instance, to keep fadX template tags recursion safe

Declaration
public ContactTags CurrentContact { get; set; }
Property Value
Type Description
ContactTags

CurrentPerson

Wraps a TemplateVariables instance, to keep fadX template tags recursion safe

Declaration
public CurrentPersonVariables CurrentPerson { get; set; }
Property Value
Type Description
CurrentPersonVariables

Id

Wraps a TemplateVariables instance, to keep fadX template tags recursion safe

Declaration
public override int Id { get; }
Property Value
Type Description
Int32
Overrides
TagContainer.Id

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
TagContainer.GetValue(String)

Init()

Wraps a TemplateVariables instance, to keep fadX template tags recursion safe

Declaration
protected override void Init()
Overrides
TagContainer.Init()

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
TagContainer.IsTagInContext(String)

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
TagContainer.IsTagLegal(String)

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top