ClientValidatorProviderContext Constructor
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.
Creates a new ClientValidatorProviderContext.
public:
ClientValidatorProviderContext(Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ modelMetadata, System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ClientValidatorItem ^> ^ items);
public ClientValidatorProviderContext (Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata modelMetadata, System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientValidatorItem> items);
new Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientValidatorProviderContext : Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata * System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientValidatorItem> -> Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientValidatorProviderContext
Public Sub New (modelMetadata As ModelMetadata, items As IList(Of ClientValidatorItem))
Parameters
- modelMetadata
- ModelMetadata
The ModelMetadata for the model being validated.
- items
- IList<ClientValidatorItem>
The list of ClientValidatorItems.