示例#1
0
 public NotEqualsValidator(ValidationPipe pipe, IProxy argument, IErrorStringProvider errorProvider,
                           IBoolProxy isEnforced,
                           IValueConverter valueConverter, bool strictValidation, bool validatesOnTargetUpdated)
     : base(pipe, argument, errorProvider, isEnforced, valueConverter, strictValidation,
            validatesOnTargetUpdated)
 {
 }
示例#2
0
 public MethodInvocationValidator(ValidationPipe pipe, Func <object, CultureInfo, bool, bool> method,
                                  IErrorStringProvider errorProvider,
                                  IBoolProxy isEnforced, IValueConverter valueConverter, bool strictValidation, bool validatesOnTargetUpdated)
     : base(pipe, errorProvider, isEnforced, valueConverter, strictValidation, validatesOnTargetUpdated)
 {
     this.method = method;
 }
示例#3
0
 protected ComparisonValidator(ValidationPipe pipe, IProxy argument, IErrorStringProvider errorProvider,
                               IBoolProxy isEnforced,
                               IValueConverter valueConverter, bool strictValidation, bool validatesOnTargetUpdated)
     : base(pipe, errorProvider, isEnforced, valueConverter, strictValidation, validatesOnTargetUpdated)
 {
     Argument = argument ?? throw new ArgumentNullException(nameof(argument));
 }
示例#4
0
 protected FieldValidator(ValidationPipe pipe, IErrorStringProvider errorProvider, IBoolProxy isEnforced,
                          IValueConverter valueConverter, bool strictValidation, bool validatesOnTargetUpdated)
     : base(ValidationStep.ConvertedProposedValue, validatesOnTargetUpdated)
 {
     ValidationPipe   = pipe;
     ErrorProvider    = errorProvider;
     ValueConverter   = valueConverter;
     IsEnforced       = isEnforced;
     StrictValidation = strictValidation;
 }
示例#5
0
 public NullValidator(
     ValidationPipe pipe,
     IErrorStringProvider errorProvider,
     IBoolProxy isEnforced,
     IValueConverter valueConverter,
     bool strictValidation,
     bool validatesOnTargetUpdated,
     bool ignoreNullOrEmpty)
     : base(
         pipe,
         errorProvider,
         isEnforced,
         valueConverter,
         strictValidation,
         validatesOnTargetUpdated,
         ignoreNullOrEmpty)
 {
 }