Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Negation"/> class.
 /// </summary>
 /// <param name="c">The c.</param>
 public Negation(Conditional c)
 {
     Negated = c;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Negation"/> class, with a null negated term.
 /// A Negation with a null negated term always returns false.
 /// </summary>
 public Negation()
 {
     Negated = null;
 }
Example #3
0
 public ConditionalStep(Logic.Conditional ifConditional, CompositeStep thenStep, CompositeStep elseStep)
 {
     _if   = ifConditional;
     _then = thenStep;
     _else = elseStep;
 }
 public ConditionalStep(Logic.Conditional ifConditional, CompositeStep thenStep, CompositeStep elseStep)
 {
     _if = ifConditional;
     _then = thenStep;
     _else = elseStep;
 }
Example #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Negation"/> class.
 /// </summary>
 /// <param name="c">The c.</param>
 public Negation(Conditional c)
 {
     Negated = c;
 }