Microsoft.AspNetCore.Mvc.ModelBinding Namespace¶
-
namespace
Microsoft.AspNetCore.Mvc.ModelBinding¶ Interfaces
- interface
IBinderTypeProviderMetadata - Provides a
System.Typewhich implementsMicrosoft.AspNetCore.Mvc.ModelBinding.IModelBinder. - interface
IBindingSourceMetadata - Metadata which specificies the data source for model binding.
- interface
IBindingSourceValueProvider - A value provider which can filter its contents based on
Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource. - interface
ICollectionModelBinder - Interface for model binding collections.
- interface
IEnumerableValueProvider - interface
IModelBinder - Defines an interface for model binders.
- interface
IModelBinderFactory - A factory abstraction for creating
Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderinstances. - interface
IModelBinderProvider - Creates
Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderinstances. RegisterMicrosoft.AspNetCore.Mvc.ModelBinding.IModelBinderProviderinstances in <code>MvcOptions</code>. - interface
IModelMetadataProvider - interface
IModelNameProvider - Represents an entity which can provide model name as metadata.
- interface
IOptionalBinderMetadata - <p> An type that designates an optional parameter for the purposes of ASP.NET Web API action overloading. Optional parameters do not participate in overloading, and do not have to have a value for the action to be selected. </p> <p> This has no impact when used without ASP.NET Web API action overloading. </p>
- interface
IPropertyFilterProvider - Provides a predicate which can determines which model properties should be bound by model binding.
- interface
IValueProvider - Defines the methods that are required for a value provider.
- interface
IValueProviderFactory - A factory for creating
Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderinstances.
Structures
- struct
EnumGroupAndName - An abstraction used when grouping enum values for
Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata.EnumGroupedDisplayNamesAndValues. - struct
NestedScope - Return value of
EnterNestedScope. Should be disposed by caller when child binding context state should be popped off of theMicrosoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext. - struct
ModelBindingResult - Contains the result of model binding.
- struct
Enumerator - struct
KeyEnumerable - struct
KeyEnumerator - struct
PrefixEnumerable - struct
ValueEnumerable - struct
ValueEnumerator - struct
ValueProviderResult - Result of an
Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider.GetValue(System.String)operation.
Classes
- class
BindNeverAttribute - Indicates that a property should be excluded from model binding. When applied to a property, the model binding system excludes that property. When applied to a type, the model binding system excludes all properties of that type.
- class
BindRequiredAttribute - Indicates that a property is required for model binding. When applied to a property, the model binding system requires a value for that property. When applied to a type, the model binding system requires values for all properties of that type.
- class
BindingBehaviorAttribute - Specifies the
Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehaviorthat should be applied. - class
BindingInfo - Binding info which represents metadata associated to an action parameter.
- class
BindingSource - A metadata object representing a source of data for model binding.
- class
BindingSourceValueProvider - A value provider which provides data from a specific
Microsoft.AspNetCore.Mvc.ModelBinding.BindingSourceValueProvider.BindingSource. - class
CompositeBindingSource - A
Microsoft.AspNetCore.Mvc.ModelBinding.CompositeBindingSource.BindingSourceswhich can repesent multiple value-provider data sources. - class
CompositeValueProvider - Represents a
Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderwhose values come from a collection ofMicrosoft.AspNetCore.Mvc.ModelBinding.IValueProviders. - class
DefaultModelBindingContext - A context that contains operating information for model binding and validation.
- class
DefaultPropertyFilterProvider<TModel> - Default implementation for
Microsoft.AspNetCore.Mvc.ModelBinding.IPropertyFilterProvider. Provides a expression based way to provide include properties. - class
EmptyModelMetadataProvider - class
FormValueProvider - An
Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvideradapter for data stored in anMicrosoft.AspNetCore.Http.IFormCollection. - class
FormValueProviderFactory - A
Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactoryforMicrosoft.AspNetCore.Mvc.ModelBinding.FormValueProvider. - class
JQueryFormValueProvider - An
Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderfor jQuery formatted form data. - class
JQueryFormValueProviderFactory - A
Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactoryforMicrosoft.AspNetCore.Mvc.ModelBinding.JQueryFormValueProvider. - class
ModelAttributes - Provides access to the combined list of attributes associated a
System.Typeor property. - class
ModelBinderFactory - A factory for
Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderinstances. - class
ModelBinderFactoryContext - A context object for
Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactory.CreateBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactoryContext). - class
ModelBinderProviderContext - A context object for
Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider.GetBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext). - class
ModelBindingContext - A context that contains operating information for model binding and validation.
- class
ModelError - class
ModelErrorCollection - class
ModelMetadata - A metadata representation of a model type, property or parameter.
- class
ModelMetadataProviderExtensions - Extensions methods for
Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider. - class
ModelNames - class
ModelPropertyCollection - A read-only collection of
Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadataobjects which represent model properties. - class
ModelStateDictionary - Represents the state of an attempt to bind values from an HTTP Request to an action method, which includes validation information.
- class
ModelStateDictionaryExtensions - Extensions methods for
Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary. - class
ModelStateEntry - An entry in a
Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary. - class
QueryStringValueProvider - An
Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvideradapter for data stored in anMicrosoft.AspNetCore.Http.IQueryCollection. - class
QueryStringValueProviderFactory - A
Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactorythat createsMicrosoft.AspNetCore.Mvc.ModelBinding.IValueProviderinstances that read values from the request query-string. - class
RouteValueProvider - An
Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvideradapter for data stored in anMicrosoft.AspNetCore.Routing.RouteValueDictionary. - class
RouteValueProviderFactory - A
Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactoryfor creatingMicrosoft.AspNetCore.Mvc.ModelBinding.RouteValueProviderinstances. - class
SuppressChildValidationMetadataProvider - An
Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IValidationMetadataProviderwhich configuresMicrosoft.AspNetCore.Mvc.ModelBinding.ModelMetadata.ValidateChildrento <code>false</code> for matching types. - class
TooManyModelErrorsException - The
System.Exceptionthat is thrown when too many model errors are encountered. - class
UnsupportedContentTypeException - The
System.Exceptionthat is added to model state when a model binder for the body of the request is unable to understand the request content type header. - class
UnsupportedContentTypeFilter - A filter that scans for
Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeExceptionin theMicrosoft.AspNetCore.Mvc.ActionContext.ModelStateand short-circuits the pipeline with an Unsupported Media Type (415) response. - class
ValueProviderFactoryContext - A context for
Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory. - class
ValueProviderResultExtensions - Extensions methods for
Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult.
Enumerations
- enum
BindingBehavior - Enumerates behavior options of the model binding system.
- enum
ModelValidationState
- interface