///<summary>
 /// Initializes a composite validator factory from attribute and configuration validator factories
 ///</summary>
 ///<param name="attributeValidatorFactory">The <see cref="AttributeValidatorFactory"/> to composite.</param>
 ///<param name="configurationValidatorFactory">The <see cref="ConfigurationValidatorFactory"/> to composite.</param>
 ///<param name="validationAttributeValidatorFactory">The <see cref="ValidationAttributeValidatorFactory"/> to composite.</param>
 public CompositeValidatorFactory(
     AttributeValidatorFactory attributeValidatorFactory,
     ConfigurationValidatorFactory configurationValidatorFactory,
     ValidationAttributeValidatorFactory validationAttributeValidatorFactory)
     : this(new ValidatorFactory[] { attributeValidatorFactory, configurationValidatorFactory, validationAttributeValidatorFactory })
 {
 }
예제 #2
0
 ///<summary>
 /// Initializes a composite validator factory from attribute and configuration validator factories
 ///</summary>
 ///<param name="attributeValidatorFactory">The <see cref="AttributeValidatorFactory"/> to composite.</param>
 ///<param name="configurationValidatorFactory">The <see cref="ConfigurationValidatorFactory"/> to composite.</param>
 ///<param name="validationAttributeValidatorFactory">The <see cref="ValidationAttributeValidatorFactory"/> to composite.</param>
 public CompositeValidatorFactory(
     AttributeValidatorFactory attributeValidatorFactory,
     ConfigurationValidatorFactory configurationValidatorFactory,
     ValidationAttributeValidatorFactory validationAttributeValidatorFactory)
     : this(new ValidatorFactory[] { attributeValidatorFactory, configurationValidatorFactory, validationAttributeValidatorFactory })
 {
 }
예제 #3
0
 ///<summary>
 /// Initializes a composite validator factory from attribute and configuration validator factories
 ///</summary>
 ///<param name="instrumentationProvider">The <see cref="IValidationInstrumentationProvider"/> to use when instrumenting validators.</param>
 ///<param name="attributeValidatorFactory">The <see cref="AttributeValidatorFactory"/> to composite.</param>
 ///<param name="configurationValidatorFactory">The <see cref="ConfigurationValidatorFactory"/> to composite.</param>
 ///<param name="validationAttributeValidatorFactory">The <see cref="ValidationAttributeValidatorFactory"/> to composite.</param>
 public CompositeValidatorFactory(
     IValidationInstrumentationProvider instrumentationProvider,
     AttributeValidatorFactory attributeValidatorFactory,
     ConfigurationValidatorFactory configurationValidatorFactory,
     ValidationAttributeValidatorFactory validationAttributeValidatorFactory)
     : this(
         instrumentationProvider,
         new ValidatorFactory[] { attributeValidatorFactory, configurationValidatorFactory, validationAttributeValidatorFactory })
 {
 }
 ///<summary>
 /// Initializes a composite validator factory from attribute and configuration validator factories
 ///</summary>
 ///<param name="instrumentationProvider">The <see cref="IValidationInstrumentationProvider"/> to use when instrumenting validators.</param>
 ///<param name="attributeValidatorFactory">The <see cref="AttributeValidatorFactory"/> to composite.</param>
 ///<param name="configurationValidatorFactory">The <see cref="ConfigurationValidatorFactory"/> to composite.</param>
 ///<param name="validationAttributeValidatorFactory">The <see cref="ValidationAttributeValidatorFactory"/> to composite.</param>
 public CompositeValidatorFactory(
     IValidationInstrumentationProvider instrumentationProvider,
     AttributeValidatorFactory attributeValidatorFactory,
     ConfigurationValidatorFactory configurationValidatorFactory,
     ValidationAttributeValidatorFactory validationAttributeValidatorFactory)
     : this(
         instrumentationProvider,
         new ValidatorFactory[] { attributeValidatorFactory, configurationValidatorFactory, validationAttributeValidatorFactory })
 {
 }