Ejemplo n.º 1
0
 private FluentStructCheck(FluentSut <T> other, bool negated) : base(other, negated)
 {
     this.structChecker = new Checker <T, IStructCheck <T> >(this, this);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FluentStructCheck{T}" /> class.
 /// </summary>
 /// <param name="value">The value.</param>
 /// <param name="reporter">Error reporter</param>
 /// <param name="negated">A boolean value indicating whether the check should be negated or not.</param>
 private FluentStructCheck(T value, IErrorReporter reporter, bool negated) : base(value, reporter, negated)
 {
     this.structChecker = new Checker <T, IStructCheck <T> >(this, this);
 }
Ejemplo n.º 3
0
 internal FluentCheck(FluentSut <T> copy, bool negated) : base(copy, negated)
 {
     this.checker = new Checker <T, ICheck <T> >(this, this);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FluentCheck{T}"/> class.
 /// </summary>
 /// <param name="value">
 /// The value.
 /// </param>
 /// <param name="negated">
 /// A boolean value indicating whether the check should be negated or not.
 /// </param>
 protected FluentCheck(T value, bool negated) : base(value, Check.Reporter, negated)
 {
     this.checker = new Checker <T, ICheck <T> >(this, this);
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FluentCheck{T}"/> class.
 /// </summary>
 /// <param name="value">
 /// The value.
 /// </param>
 /// <param name="negated">
 /// A boolean value indicating whether the check should be negated or not.
 /// </param>
 protected FluentCheck(T value, bool negated)
 {
     this.Value   = value;
     this.Negated = negated;
     this.checker = new Checker <T, ICheck <T> >(this);
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FluentStructCheck{T}" /> class.
 /// </summary>
 /// <param name="value">The value.</param>
 /// <param name="negated">A boolean value indicating whether the check should be negated or not.</param>
 private FluentStructCheck(T value, bool negated)
 {
     this.Value         = value;
     this.Negated       = negated;
     this.structChecker = new Checker <T, IStructCheck <T> >(this);
 }