BindingMetadataProviderContext Class¶
Summary¶
A context for an [Microsoft.AspNet.Mvc.ModelBinding.Metadata.IBindingMetadataProvider](Microsoft.AspNet.Mvc.ModelBinding.Metadata.IBindingMetadataProvider.yml).
Constructors¶
-
BindingMetadataProviderContext
(Microsoft.AspNet.Mvc.ModelBinding.Metadata.ModelMetadataIdentity, Microsoft.AspNet.Mvc.ModelBinding.ModelAttributes)¶ Creates a new [Microsoft.AspNet.Mvc.ModelBinding.Metadata.BindingMetadataProviderContext](Microsoft.AspNet.Mvc.ModelBinding.Metadata.BindingMetadataProviderContext.yml).
Arguments: - key (Microsoft.AspNet.Mvc.ModelBinding.Metadata.ModelMetadataIdentity) – The [Microsoft.AspNet.Mvc.ModelBinding.Metadata.ModelMetadataIdentity]() for the [Microsoft.AspNet.Mvc.ModelBinding.ModelMetadata]().
- attributes (Microsoft.AspNet.Mvc.ModelBinding.ModelAttributes) – The attributes for the [Microsoft.AspNet.Mvc.ModelBinding.ModelMetadata]().
public BindingMetadataProviderContext(ModelMetadataIdentity key, ModelAttributes attributes)
-
Properties¶
-
Attributes
()¶ Gets the attributes.
Return type: System.Collections.Generic.IReadOnlyList{System.Object} public IReadOnlyList<object> Attributes { get; }
-
BindingMetadata
()¶ Gets the [Microsoft.AspNet.Mvc.ModelBinding.Metadata.BindingMetadata](Microsoft.AspNet.Mvc.ModelBinding.Metadata.BindingMetadata.yml).
Return type: Microsoft.AspNet.Mvc.ModelBinding.Metadata.BindingMetadata public BindingMetadata BindingMetadata { get; }
-
Key
()¶ Gets the [Microsoft.AspNet.Mvc.ModelBinding.Metadata.ModelMetadataIdentity]().
Return type: Microsoft.AspNet.Mvc.ModelBinding.Metadata.ModelMetadataIdentity public ModelMetadataIdentity Key { get; }
-
PropertyAttributes
()¶ Gets the property attributes.
Return type: System.Collections.Generic.IReadOnlyList{System.Object} public IReadOnlyList<object> PropertyAttributes { get; }
-
TypeAttributes
()¶ Gets the type attributes.
Return type: System.Collections.Generic.IReadOnlyList{System.Object} public IReadOnlyList<object> TypeAttributes { get; }
-