예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DateCondition" /> class.
 /// </summary>
 /// <param name="_Operator">_Operator.</param>
 /// <param name="Value1">Value1.</param>
 /// <param name="Value2">Value2.</param>
 /// <param name="ValueFormat">ValueFormat.</param>
 public DateCondition(OperatorEnum?_Operator = default(OperatorEnum?), ConditionValue Value1 = default(ConditionValue), ConditionValue Value2 = default(ConditionValue), string ValueFormat = default(string))
 {
     this._Operator   = _Operator;
     this.Value1      = Value1;
     this.Value2      = Value2;
     this.ValueFormat = ValueFormat;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ConditionOccurrence" /> class.
 /// </summary>
 /// <param name="EmptyElementsAreNoneExistant">EmptyElementsAreNoneExistant (default to false).</param>
 /// <param name="Value">Value.</param>
 /// <param name="OccurrenceCount">OccurrenceCount.</param>
 public ConditionOccurrence(bool?EmptyElementsAreNoneExistant = false, ConditionValue Value = default(ConditionValue), NumberCondition OccurrenceCount = default(NumberCondition))
 {
     // use default value if no "EmptyElementsAreNoneExistant" provided
     if (EmptyElementsAreNoneExistant == null)
     {
         this.EmptyElementsAreNoneExistant = false;
     }
     else
     {
         this.EmptyElementsAreNoneExistant = EmptyElementsAreNoneExistant;
     }
     this.Value           = Value;
     this.OccurrenceCount = OccurrenceCount;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ConditionCheckValue" /> class.
 /// </summary>
 /// <param name="Value">Value.</param>
 /// <param name="SettingsType">SettingsType.</param>
 /// <param name="Settings">Settings.</param>
 public ConditionCheckValue(ConditionValue Value = default(ConditionValue), ConditionType SettingsType = default(ConditionType), ConditionCheckValueSettings Settings = default(ConditionCheckValueSettings))
 {
     this.Value        = Value;
     this.SettingsType = SettingsType;
     this.Settings     = Settings;
 }
예제 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BooleanCondition" /> class.
 /// </summary>
 /// <param name="_Operator">_Operator.</param>
 /// <param name="Value">Value.</param>
 public BooleanCondition(OperatorEnum?_Operator = default(OperatorEnum?), ConditionValue Value = default(ConditionValue))
 {
     this._Operator = _Operator;
     this.Value     = Value;
 }
예제 #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TextCondition" /> class.
 /// </summary>
 /// <param name="_Operator">_Operator.</param>
 /// <param name="Value1">Value1.</param>
 /// <param name="Value2">Value2.</param>
 public TextCondition(OperatorEnum?_Operator = default(OperatorEnum?), ConditionValue Value1 = default(ConditionValue), ConditionValue Value2 = default(ConditionValue))
 {
     this._Operator = _Operator;
     this.Value1    = Value1;
     this.Value2    = Value2;
 }