DisplayMetadataProviderContext(ModelMetadataIdentity, ModelAttributes) 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 DisplayMetadataProviderContext.
public:
DisplayMetadataProviderContext(Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::ModelMetadataIdentity key, Microsoft::AspNetCore::Mvc::ModelBinding::ModelAttributes ^ attributes);
public DisplayMetadataProviderContext (Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity key, Microsoft.AspNetCore.Mvc.ModelBinding.ModelAttributes attributes);
new Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DisplayMetadataProviderContext : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity * Microsoft.AspNetCore.Mvc.ModelBinding.ModelAttributes -> Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DisplayMetadataProviderContext
Public Sub New (key As ModelMetadataIdentity, attributes As ModelAttributes)
Parameters
The ModelMetadataIdentity for the ModelMetadata.
- attributes
- ModelAttributes
The attributes for the ModelMetadata.