Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NumberCheck{TN}" /> class.
 /// </summary>
 /// <param name="check">The fluent check.</param>
 public NumberCheck(ICheck <TN> check)
 {
     // this.value = ((ICheckForExtensibility<N>)check).Value;
     this.checker = new Checker <TN, ICheck <TN> >(check as ICheckForExtensibility <TN, ICheck <TN> >);
     this.checkForExtensibility = check as ICheckForExtensibility <TN, ICheck <TN> >;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Checker{T,TC}" /> class.
 /// </summary>
 /// <param name="fluentCheckForExtensibility">The runnable fluent check.</param>
 /// <param name="fluentSut"></param>
 public Checker(ICheckForExtensibility <T, TC> fluentCheckForExtensibility, FluentSut <T> fluentSut)
 {
     this.fluentCheckForExtensibility = fluentCheckForExtensibility;
     this.fluentSut = fluentSut;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Checker{T,TC}" /> class.
 /// </summary>
 /// <param name="fluentCheckForExtensibility">The runnable fluent check.</param>
 public Checker(ICheckForExtensibility <T, TC> fluentCheckForExtensibility)
 {
     this.fluentCheckForExtensibility = fluentCheckForExtensibility;
 }