예제 #1
0
 public NotExistsInValidator(ValidationPipe pipe, IProxy argument, IErrorStringProvider errorProvider,
                             IBoolProxy isEnforced,
                             IValueConverter valueConverter, bool strictValidation, bool validatesOnTargetUpdated)
     : base(pipe, argument, errorProvider, isEnforced, valueConverter, strictValidation,
            validatesOnTargetUpdated)
 {
 }
 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;
 }
 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 EmptyValidator(ValidationPipe pipe, IErrorStringProvider errorProvider, IBoolProxy isEnforced, IValueConverter valueConverter,
                       bool strictValidation, bool validatesOnTargetUpdated)
     : base(pipe, errorProvider, isEnforced, valueConverter, strictValidation, validatesOnTargetUpdated)
 {
 }