/// <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;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ConditionCheckValueSettings" /> class.
 /// </summary>
 /// <param name="Date">Date.</param>
 /// <param name="Number">Number.</param>
 /// <param name="Text">Text.</param>
 /// <param name="Boolean">Boolean.</param>
 public ConditionCheckValueSettings(DateCondition Date = default(DateCondition), NumberCondition Number = default(NumberCondition), TextCondition Text = default(TextCondition), BooleanCondition Boolean = default(BooleanCondition))
 {
     this.Date    = Date;
     this.Number  = Number;
     this.Text    = Text;
     this.Boolean = Boolean;
 }