Class ConditionValidateParser
This class uses for parsing condition for conditionary required fields and generate some executable Condition implementation.
Supporting comparing operators: "=", "!=", "<", ">", "in"; Supporting logical operators: "not", "or", "and" Supporting searching operator: "existtags"; Supporting special fake operator: "false"
Examples of valid conditions: false existtags(T$91) T$28='C' or T$28='R' T$20 in ('1','2') T$59='GTD' and (not existtags(T$126)) not (T$71=2 or T$626 in ('5', '7'))
@version $Revision: 1.20 $ $Date: 2008/05/06 15:27:24 $
Inheritance
System.Object
ConditionValidateParser
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FixAntenna.Fix.Validation.Engine.Validators.Condition
Assembly: FixAntenna.Validation.dll
Syntax
public class ConditionValidateParser
Constructors
ConditionValidateParser(String)
Create parser and pass condition string for parsing.
Declaration
public ConditionValidateParser(string condition)
Parameters
Type | Name | Description |
---|---|---|
System.String | condition | condition string. |
Methods
GetCondition()
Returns full list of classes of conditional operator by input string
Declaration
public virtual ICondition GetCondition()
Returns
Type | Description |
---|---|
ICondition | full list of classes of conditional operator |