private FluentStructCheck(FluentSut <T> other, bool negated) : base(other, negated) { this.structChecker = new Checker <T, IStructCheck <T> >(this, this); }
/// <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); }
internal FluentCheck(FluentSut <T> copy, bool negated) : base(copy, negated) { this.checker = new Checker <T, ICheck <T> >(this, this); }
/// <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); }
/// <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); }
/// <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); }