Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="IfAction" /> class.
 /// </summary>
 /// <param name="and">and.</param>
 /// <param name="or">or.</param>
 /// <param name="not">not.</param>
 /// <param name="propertyEquals">propertyEquals.</param>
 /// <param name="greaterThan">greaterThan.</param>
 /// <param name="greaterThanOrEquals">greaterThanOrEquals.</param>
 /// <param name="lessThan">lessThan.</param>
 /// <param name="lessThanOrEquals">lessThanOrEquals.</param>
 /// <param name="between">between.</param>
 /// <param name="changes">changes.</param>
 /// <param name="remains">remains.</param>
 /// <param name="was">was.</param>
 /// <param name="then">then.</param>
 /// <param name="_else">_else.</param>
 /// <param name="sequence">sequence.</param>
 public IfAction(List <Condition> and = default(List <Condition>), List <Condition> or = default(List <Condition>), Condition not = default(Condition), EqualsCondition propertyEquals = default(EqualsCondition), GreaterThanCondition greaterThan = default(GreaterThanCondition), GreaterThanOrEqualsCondition greaterThanOrEquals = default(GreaterThanOrEqualsCondition), LessThanCondition lessThan = default(LessThanCondition), LessThanOrEqualsCondition lessThanOrEquals = default(LessThanOrEqualsCondition), BetweenCondition between = default(BetweenCondition), ChangesCondition changes = default(ChangesCondition), RemainsCondition remains = default(RemainsCondition), WasCondition was = default(WasCondition), List <Action> then = default(List <Action>), List <Action> _else = default(List <Action>), IfActionSequence sequence = default(IfActionSequence))
 {
     this.And                 = and;
     this.Or                  = or;
     this.Not                 = not;
     this.PropertyEquals      = propertyEquals;
     this.GreaterThan         = greaterThan;
     this.GreaterThanOrEquals = greaterThanOrEquals;
     this.LessThan            = lessThan;
     this.LessThanOrEquals    = lessThanOrEquals;
     this.Between             = between;
     this.Changes             = changes;
     this.Remains             = remains;
     this.Was                 = was;
     this.Then                = then;
     this.Else                = _else;
     this.Sequence            = sequence;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Condition" /> class.
 /// </summary>
 /// <param name="and">and.</param>
 /// <param name="or">or.</param>
 /// <param name="not">not.</param>
 /// <param name="propertyEquals">propertyEquals.</param>
 /// <param name="greaterThan">greaterThan.</param>
 /// <param name="greaterThanOrEquals">greaterThanOrEquals.</param>
 /// <param name="lessThan">lessThan.</param>
 /// <param name="lessThanOrEquals">lessThanOrEquals.</param>
 /// <param name="between">between.</param>
 /// <param name="changes">changes.</param>
 /// <param name="remains">remains.</param>
 /// <param name="was">was.</param>
 public Condition(List <Condition> and = default(List <Condition>), List <Condition> or = default(List <Condition>), Condition not = default(Condition), EqualsCondition propertyEquals = default(EqualsCondition), GreaterThanCondition greaterThan = default(GreaterThanCondition), GreaterThanOrEqualsCondition greaterThanOrEquals = default(GreaterThanOrEqualsCondition), LessThanCondition lessThan = default(LessThanCondition), LessThanOrEqualsCondition lessThanOrEquals = default(LessThanOrEqualsCondition), BetweenCondition between = default(BetweenCondition), ChangesCondition changes = default(ChangesCondition), RemainsCondition remains = default(RemainsCondition), WasCondition was = default(WasCondition))
 {
     this.And                 = and;
     this.Or                  = or;
     this.Not                 = not;
     this.PropertyEquals      = propertyEquals;
     this.GreaterThan         = greaterThan;
     this.GreaterThanOrEquals = greaterThanOrEquals;
     this.LessThan            = lessThan;
     this.LessThanOrEquals    = lessThanOrEquals;
     this.Between             = between;
     this.Changes             = changes;
     this.Remains             = remains;
     this.Was                 = was;
 }