Пример #1
0
 /// <summary>
 /// Constructs a <see cref="CompoundCondition"/> given
 /// an <see cref="EvaluationType"/>.
 /// </summary>
 /// <param name="evalType">
 /// Determines whether all inner conditions must be true
 /// or any one condition must be true for this condition
 /// to be true.
 /// </param>
 public CompoundCondition(CompoundEvaluationType evalType)
 {
     this.conditions = new List <Condition>();
 }
Пример #2
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <remarks>
 /// Default <see cref="CompoundEvaluationType"/> is
 /// <see cref="CompoundEvaluationType.All"/>.
 /// </remarks>
 public CompoundCondition()
 {
     this.evalType   = CompoundEvaluationType.All;
     this.conditions = new List <Condition>();
 }