public DataAnnotationObjectValidationContributor(
     IOptions <AbpValidationOptions> options,
     IServiceProvider serviceProvider)
 {
     ServiceProvider = serviceProvider;
     Options         = options.Value;
 }
 public DataAnnotationObjectValidationContributor(IOptions <AbpValidationOptions> options)
 {
     Options = options.Value;
 }
Ejemplo n.º 3
0
 public ObjectValidator(IOptions <AbpValidationOptions> options, IServiceScopeFactory serviceScopeFactory)
 {
     ServiceScopeFactory = serviceScopeFactory;
     Options             = options.Value;
 }
Ejemplo n.º 4
0
 public ValidationInterceptor(IServiceProvider serviceProvider, IOptions <AbpValidationOptions> abpValidationOptions)
 {
     _serviceProvider      = serviceProvider;
     _abpValidationOptions = abpValidationOptions.Value;
 }
Ejemplo n.º 5
0
 public ObjectValidator(IOptions <AbpValidationOptions> options, IDataAnnotationValidator dataAnnotationValidator)
 {
     _dataAnnotationValidator = dataAnnotationValidator;
     _options = options.Value;
 }