Microsoft.AspNetCore.Mvc.ModelBinding Namespace

namespace Microsoft.AspNetCore.Mvc.ModelBinding

Interfaces

interface IBinderTypeProviderMetadata
Provides a System.Type which implements Microsoft.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.IModelBinder instances.
interface IModelBinderProvider
Creates Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder instances. Register Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider instances 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.IValueProvider instances.

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 the Microsoft.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.BindingBehavior that 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.BindingSources which can repesent multiple value-provider data sources.
class CompositeValueProvider
Represents a Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider whose values come from a collection of Microsoft.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.IValueProvider adapter for data stored in an Microsoft.AspNetCore.Http.IFormCollection.
class FormValueProviderFactory
A Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory for Microsoft.AspNetCore.Mvc.ModelBinding.FormValueProvider.
class JQueryFormValueProvider
An Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider for jQuery formatted form data.
class JQueryFormValueProviderFactory
A Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory for Microsoft.AspNetCore.Mvc.ModelBinding.JQueryFormValueProvider.
class ModelAttributes
Provides access to the combined list of attributes associated a System.Type or property.
class ModelBinderFactory
A factory for Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder instances.
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.ModelMetadata objects 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.IValueProvider adapter for data stored in an Microsoft.AspNetCore.Http.IQueryCollection.
class QueryStringValueProviderFactory
A Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory that creates Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider instances that read values from the request query-string.
class RouteValueProvider
An Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider adapter for data stored in an Microsoft.AspNetCore.Routing.RouteValueDictionary.
class RouteValueProviderFactory
A Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory for creating Microsoft.AspNetCore.Mvc.ModelBinding.RouteValueProvider instances.
class SuppressChildValidationMetadataProvider
An Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IValidationMetadataProvider which configures Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata.ValidateChildren to <code>false</code> for matching types.
class TooManyModelErrorsException
The System.Exception that is thrown when too many model errors are encountered.
class UnsupportedContentTypeException
The System.Exception that 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.UnsupportedContentTypeException in the Microsoft.AspNetCore.Mvc.ActionContext.ModelState and 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