Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the InputStopCondition class.
 /// Clone Constructor. Creates new <see cref="InputStopCondition"/> that is
 /// identical to the given <see cref="InputStopCondition"/>.
 /// </summary>
 /// <param name="newInputStopCondition">The <see cref="InputStopCondition"/> to clone.</param>
 public InputStopCondition(InputStopCondition newInputStopCondition)
   : base(newInputStopCondition.IsCorrectResponse)
 {
   this.anyInputOfThisType = newInputStopCondition.CanBeAnyInputOfThisType;
   this.trialID = newInputStopCondition.TrialID;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the InputStopCondition class.
 /// Clone Constructor. Creates new <see cref="InputStopCondition"/> that is
 /// identical to the given <see cref="InputStopCondition"/>.
 /// </summary>
 /// <param name="newInputStopCondition">The <see cref="InputStopCondition"/> to clone.</param>
 public InputStopCondition(InputStopCondition newInputStopCondition)
     : base(newInputStopCondition.IsCorrectResponse)
 {
     this.anyInputOfThisType = newInputStopCondition.CanBeAnyInputOfThisType;
     this.trialID            = newInputStopCondition.TrialID;
 }