IMetadataBasedModelValidatorProvider.HasValidators Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that determines if the IModelValidatorProvider can
produce any validators given the modelType
and modelType
.
public:
bool HasValidators(Type ^ modelType, System::Collections::Generic::IList<System::Object ^> ^ validatorMetadata);
public bool HasValidators (Type modelType, System.Collections.Generic.IList<object> validatorMetadata);
abstract member HasValidators : Type * System.Collections.Generic.IList<obj> -> bool
Public Function HasValidators (modelType As Type, validatorMetadata As IList(Of Object)) As Boolean