Class FieldParameters
Represents a parsed collection of field arguments and switches.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.Fields.FieldCode
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public class FieldParameters
Constructors
FieldParameters()
Properties
Comparison
Gets the field comparison element.
Declaration
public FieldComparison Comparison { get; }
Property Value
FieldComparison
The comparison. |
Expression
Gets the expression string.
Declaration
public string Expression { get; }
Property Value
System.String
The expression. |
FirstArgument
Gets the first field argument.
Declaration
public FieldArgument FirstArgument { get; }
Property Value
FieldArgument
The first field argument. |
SecondArgument
Gets the second field argument.
Declaration
public FieldArgument SecondArgument { get; }
Property Value
FieldArgument
The second field argument. |
Methods
GetSwitchArguments(String)
Gets the switch argument(s).
Declaration
public IList<string> GetSwitchArguments(string switchKey)
Parameters
System.String
switchKey
The switch key. |
Returns
System.Collections.Generic.IList<System.String>
The switch argument value(s) if there is such switch, otherwise - an empty string. |
IsSwitchDefined(String)
Determines whether a switch is defined.
Declaration
public bool IsSwitchDefined(string switchKey)
Parameters
System.String
switchKey
The switch key. |
Returns
System.Boolean
True if the switch is defined. |
TryGetSwitch(String, out IList<FieldSwitch>)
Tries to get the switches for a given key.
Declaration
public bool TryGetSwitch(string switchKey, out IList<FieldSwitch> result)
Parameters
System.String
switchKey
The switch key. |
System.Collections.Generic.IList<FieldSwitch>
result
The result. |
Returns
System.Boolean
True if there is such switch(es), otherwise - false. |