public void Setup() { var factory = new ValidationAttributeValidatorFactory(new ValidationInstrumentationProvider(false, false, "")); this.validator = factory.CreateValidator <TypeWithValidationAttributes>(); }
public void Setup() { var factory = new ValidationAttributeValidatorFactory(); this.validator = factory.CreateValidator <TypeWithValidationAttributes>(); }
public void Setup() { var factory = new ValidationAttributeValidatorFactory(new ValidationInstrumentationProvider(false, false, "")); this.validator = factory.CreateValidator<TypeWithValidationAttributes>(); }
public void Setup() { var factory = new ValidationAttributeValidatorFactory(); this.validator = factory.CreateValidator<TypeWithValidationAttributes>(); }