public FieldMetadataModelValidator(IFieldMetadataValidatorProvider validators) : base(new MetadataFieldValidator(validators)) { }
/// <summary> /// Creates new instance for validating <see cref="IFieldDefinition"/> with collection of metadata validators <paramref name="validators"/>. /// </summary> /// <param name="validators">Collection of metadata validators.</param> public MetadataFieldValidator(IFieldMetadataValidatorProvider validators) { Ensure.NotNull(validators, "validators"); Validators = validators; }