Table of Contents

Class MacroRuleParameter

Namespace
CMS.MacroEngine
Assembly
CMS.MacroEngine.dll

Represents a parameter in macro rule.

public class MacroRuleParameter
Inheritance
object
MacroRuleParameter
Extension Methods

Constructors

MacroRuleParameter()

public MacroRuleParameter()

Properties

ApplyValueTypeConversion

Indicates if the text of the parameter was taken from the value.

public bool ApplyValueTypeConversion { get; set; }

Property Value

bool

DefaultText

Gets or sets the default text displayed when the value is empty.

public string DefaultText { get; set; }

Property Value

string

Required

Indicates if the value of the parameter is required (does not allow empty).

public bool Required { get; set; }

Property Value

bool

Text

Gets or sets the rule parameter text (text displayed in the sentence).

public string Text { get; set; }

Property Value

string

Value

Gets or sets the rule parameter value (value inserted to the K# condition instead of the macro).

public string Value { get; set; }

Property Value

string

ValueType

Type of the value.

public string ValueType { get; set; }

Property Value

string