public DataAnnotationObjectValidationContributor(
     IOptions <PlusValidationOptions> options,
     IServiceProvider serviceProvider)
 {
     ServiceProvider = serviceProvider;
     Options         = options.Value;
 }
Exemple #2
0
 public ObjectValidator(IOptions <PlusValidationOptions> options, IHybridServiceScopeFactory serviceScopeFactory)
 {
     ServiceScopeFactory = serviceScopeFactory;
     Options             = options.Value;
 }