Expand Minimize
0 out of 1 rated this helpful - Rate this topic

System.Web.ModelBinding Namespace

.NET Framework 4.5

The System.Web.ModelBinding namespace provides classes that enable you to bind data objects to ASP.NET Web Forms server controls.

For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.

  ClassDescription
Public classArrayModelBinder<TElement>Maps a browser request to an array.
Public classArrayModelBinderProviderProvides a model binder for arrays.
Public classAssociatedMetadataProviderProvides an abstract class to implement a metadata provider.
Public classAssociatedValidatorProviderProvides an abstract class for classes that implement a validation provider.
Public classBinaryDataModelBinderProviderGets a model binder for binary data.
Public classBindingBehaviorAttributeProvides a base class for model-binding behavior attributes.
Public classBindNeverAttributeProvides an attribute that specifies that model binding should exclude a property.
Public classBindRequiredAttributeProvides an attribute that specifies that a property is required for model binding.
Public classCollectionModelBinder<TElement>Maps a browser request to a collection.
Public classCollectionModelBinderProviderProvides a model binder for a collection.
Public classComplexModelDescribes a complex model, using a collection rather than individual properties as the data store.
Public classComplexModelBinderMaps a browser request to a complex data model.
Public classComplexModelBinderProviderProvides a model binder for a complex model.
Public classComplexModelResultProvides a container for data that is stored by the ComplexModel class.
Public classControlAttributeRepresents an attribute that specifies that values for model binding are provided by a control.
Public classControlValueProviderRepresents a value provider for control values.
Public classCookieAttributeRepresents an attribute that specifies that the values for model binding are provided by a cookie.
Public classCookieValueProviderRepresents a value provider for cookie values.
Public classDataAnnotationsModelMetadataProvides a container for common metadata, for the DataAnnotationsModelMetadataProvider class, and for the DataAnnotationsModelValidator class for a data model.
Public classDataAnnotationsModelMetadataProviderImplements the default model metadata provider.
Public classDataAnnotationsModelValidatorProvides a model validator.
Public classDataAnnotationsModelValidator<TAttribute>Provides a model validator for a specified validation type.
Public classDataAnnotationsModelValidatorProviderImplements the default validator provider.
Public classDefaultModelBinderMaps a browser request to a data object. This class provides a concrete implementation of a model binder.
Public classDictionaryModelBinder<TKey, TValue>Maps a browser request to a dictionary data object.
Public classDictionaryModelBinderProviderProvides a model binder for a dictionary.
Public classDictionaryValueProvider<TValue>Represents the base class for value providers whose values come from a collection that implements the IDictionary<TKey, TValue> interface.
Public classEmptyModelMetadataProviderProvides an empty metadata provider for data models that do not require metadata.
Public classExtensibleModelBinderAttributeSpecifies the binder type for a model type.
Public classFormAttributeRepresents an attribute that specifies that values for model binding are provided by a form field.
Public classFormValueProviderRepresents a value provider for form values.
Public classGenericModelBinderProviderGets a model binder for a generic type.
Public classKeyValuePairModelBinder<TKey, TValue>Maps a browser request to a key/value pair data object.
Public classKeyValuePairModelBinderProviderProvides a model binder for a collection of key/value pairs.
Public classModelBinderDictionaryProvides a container for all model binders for the application, listed by binder type.
Public classModelBinderErrorMessageProvidersProvides a container for model-binder error message providers.
Public classModelBinderProviderProvides an abstract base class for model binder providers.
Public classModelBinderProviderCollectionProvides a container for a collection of model binder providers.
Public classModelBinderProviderOptionsAttributeRepresents an attribute that specifies options for a model-binder provider.
Public classModelBinderProvidersProvides a container for model binder providers for the application.
Public classModelBindersProvides global access to the model binders for the application.
Public classModelBindingContextProvides the context in which a model binder functions.
Public classModelBindingExecutionContextEncapsulates all of the information that is external to the model binding system that the model binding system needs.
Public classModelErrorRepresents an error that occurs during model binding.
Public classModelErrorCollectionProvides a container for model validation errors.
Public classModelMetadataProvides a container for metadata for a model.
Public classModelMetadataProviderProvides an abstract base class for a custom metadata provider.
Public classModelMetadataProvidersProvides a container for the current ModelMetadataProvider instance.
Public classModelStateEncapsulates the state of model binding.
Public classModelStateDictionaryRepresents the state of model binding.
Public classModelValidatedEventArgsProvides data for the ModelValidationNode.Validated event.
Public classModelValidatingEventArgsProvides data for the ModelValidationNode.Validating event.
Public classModelValidationNodeProvides a container for model validation information.
Public classModelValidationResultProvides a container for a validation result.
Public classModelValidatorProvides a base class for implementing validation logic.
Public classModelValidatorProviderProvides a collection of model validators.
Public classModelValidatorProviderCollectionProvides a container for a collection of validation providers.
Public classModelValidatorProvidersProvides a container for the current validation provider.
Public classMutableObjectModelBinderMaps a browser request to a mutable data object.
Public classMutableObjectModelBinderProviderProvides a model binder for mutable objects.
Public classNameValueCollectionValueProviderRepresents the base class for value providers whose values come from a name/value collection.
Public classProfileAttributeRepresents an attribute that specifies that values for model binding are provided by a profile.
Public classProfileValueProviderRepresents a value provider for profile values.
Public classQueryStringAttributeRepresents an attribute that specifies that model binding values are provided by a query string value.
Public classQueryStringValueProviderRepresents a value provider for query-string values.
Public classRangeAttributeAdapterProvides an adapter for the RangeAttribute attribute.
Public classRegularExpressionAttributeAdapterProvides an adapter for the RegularExpressionAttribute attribute.
Public classRequiredAttributeAdapterProvides an adapter for the RequiredAttribute attribute.
Public classRouteDataAttributeRepresents an attribute that specifies that values for model binding are provided by route data.
Public classRouteDataValueProviderRepresents a value provider for route data.
Public classSessionAttributeRepresents an attribute that specifies that values for model binding are provided by session state.
Public classSimpleModelBinderProviderProvides a model binder for a simple type.
Public classSimpleValueProviderRepresents a value provider for single key/value lookups.
Public classStringLengthAttributeAdapterProvides an adapter for the StringLengthAttribute attribute.
Public classTypeConverterModelBinderMaps a browser request to a data object. This type is used when model binding requires conversions using a .NET Framework type converter.
Public classTypeConverterModelBinderProviderProvides a model binder for a model that requires type conversion.
Public classTypeMatchModelBinderMaps a browser request to a data object. This class is used when model binding does not require type conversion.
Public classTypeMatchModelBinderProviderProvides a model binder for a model that does not require type conversion.
Public classUserProfileAttributeRepresents an attribute that specifies that values for model binding are provided by a user profile.
Public classUserProfileValueProviderRepresents a value provider for user profiles.
Public classValidatableObjectAdapterProvides an adapter for objects that implement the IValidatableObject interface.
Public classValueProviderCollectionRepresents the collection of value-provider objects for the application.
Public classValueProviderResultRepresents the result of retrieving a value from a value provider.
Public classValueProviderSourceAttributeProvides a base class for value-provider attributes that can be used in method parameters to specify the source of values for model binding, such as FormAttribute, QueryStringAttribute, and ViewStateAttribute.
Public classViewStateAttributeRepresents an attribute that specifies that values for model binding are provided by view state.
Public classViewStateValueProviderRepresents a value provider for view state values.
  InterfaceDescription
Public interfaceIMetadataAwareDefines a method that must be implemented by classes that are metadata-aware.
Public interfaceIModelBinderDefines the method that is required for a model binder.
Public interfaceIModelNameProviderProvides a way to specify an alternate name to use for model binding instead of using the parameter name.
Public interfaceIUnvalidatedValueProviderDefines the method that is required for an unvalidated value provider.
Public interfaceIUnvalidatedValueProviderSourceDefines the methods that are required for a value provider that supports skipping request validation.
Public interfaceIValueProviderDefines the methods that are required for a value provider.
Public interfaceIValueProviderSourceDefines the method that is required for a value provider source.
  DelegateDescription
Public delegateDataAnnotationsModelValidationFactoryRepresents the method that creates a DataAnnotationsModelValidatorProvider instance.
Public delegateDataAnnotationsValidatableObjectAdapterFactoryRepresents a factory for validators that are based on the IValidatableObject interface.
Public delegateModelBinderErrorMessageProviderRepresents a method that provides a model-binding error message.
  EnumerationDescription
Public enumerationBindingBehaviorEnumerates model-binding behavior options.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.