Export (0) Print
Expand All
Expand Minimize

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.

  Class Description
Public class ArrayModelBinder<TElement> Maps a browser request to an array.
Public class ArrayModelBinderProvider Provides a model binder for arrays.
Public class AssociatedMetadataProvider Provides an abstract class to implement a metadata provider.
Public class AssociatedValidatorProvider Provides an abstract class for classes that implement a validation provider.
Public class BinaryDataModelBinderProvider Gets a model binder for binary data.
Public class BindingBehaviorAttribute Provides a base class for model-binding behavior attributes.
Public class BindNeverAttribute Provides an attribute that specifies that model binding should exclude a property.
Public class BindRequiredAttribute Provides an attribute that specifies that a property is required for model binding.
Public class CollectionModelBinder<TElement> Maps a browser request to a collection.
Public class CollectionModelBinderProvider Provides a model binder for a collection.
Public class ComplexModel Describes a complex model, using a collection rather than individual properties as the data store.
Public class ComplexModelBinder Maps a browser request to a complex data model.
Public class ComplexModelBinderProvider Provides a model binder for a complex model.
Public class ComplexModelResult Provides a container for data that is stored by the ComplexModel class.
Public class ControlAttribute Represents an attribute that specifies that values for model binding are provided by a control.
Public class ControlValueProvider Represents a value provider for control values.
Public class CookieAttribute Represents an attribute that specifies that the values for model binding are provided by a cookie.
Public class CookieValueProvider Represents a value provider for cookie values.
Public class DataAnnotationsModelMetadata Provides a container for common metadata, for the DataAnnotationsModelMetadataProvider class, and for the DataAnnotationsModelValidator class for a data model.
Public class DataAnnotationsModelMetadataProvider Implements the default model metadata provider.
Public class DataAnnotationsModelValidator Provides a model validator.
Public class DataAnnotationsModelValidator<TAttribute> Provides a model validator for a specified validation type.
Public class DataAnnotationsModelValidatorProvider Implements the default validator provider.
Public class DefaultModelBinder Maps a browser request to a data object. This class provides a concrete implementation of a model binder.
Public class DictionaryModelBinder<TKey, TValue> Maps a browser request to a dictionary data object.
Public class DictionaryModelBinderProvider Provides a model binder for a dictionary.
Public class DictionaryValueProvider<TValue> Represents the base class for value providers whose values come from a collection that implements the IDictionary<TKey, TValue> interface.
Public class EmptyModelMetadataProvider Provides an empty metadata provider for data models that do not require metadata.
Public class ExtensibleModelBinderAttribute Specifies the binder type for a model type.
Public class FormAttribute Represents an attribute that specifies that values for model binding are provided by a form field.
Public class FormValueProvider Represents a value provider for form values.
Public class GenericModelBinderProvider Gets a model binder for a generic type.
Public class KeyValuePairModelBinder<TKey, TValue> Maps a browser request to a key/value pair data object.
Public class KeyValuePairModelBinderProvider Provides a model binder for a collection of key/value pairs.
Public class ModelBinderDictionary Provides a container for all model binders for the application, listed by binder type.
Public class ModelBinderErrorMessageProviders Provides a container for model-binder error message providers.
Public class ModelBinderProvider Provides an abstract base class for model binder providers.
Public class ModelBinderProviderCollection Provides a container for a collection of model binder providers.
Public class ModelBinderProviderOptionsAttribute Represents an attribute that specifies options for a model-binder provider.
Public class ModelBinderProviders Provides a container for model binder providers for the application.
Public class ModelBinders Provides global access to the model binders for the application.
Public class ModelBindingContext Provides the context in which a model binder functions.
Public class ModelBindingExecutionContext Encapsulates all of the information that is external to the model binding system that the model binding system needs.
Public class ModelError Represents an error that occurs during model binding.
Public class ModelErrorCollection Provides a container for model validation errors.
Public class ModelMetadata Provides a container for metadata for a model.
Public class ModelMetadataProvider Provides an abstract base class for a custom metadata provider.
Public class ModelMetadataProviders Provides a container for the current ModelMetadataProvider instance.
Public class ModelState Encapsulates the state of model binding.
Public class ModelStateDictionary Represents the state of model binding.
Public class ModelValidatedEventArgs Provides data for the ModelValidationNode.Validated event.
Public class ModelValidatingEventArgs Provides data for the ModelValidationNode.Validating event.
Public class ModelValidationNode Provides a container for model validation information.
Public class ModelValidationResult Provides a container for a validation result.
Public class ModelValidator Provides a base class for implementing validation logic.
Public class ModelValidatorProvider Provides a collection of model validators.
Public class ModelValidatorProviderCollection Provides a container for a collection of validation providers.
Public class ModelValidatorProviders Provides a container for the current validation provider.
Public class MutableObjectModelBinder Maps a browser request to a mutable data object.
Public class MutableObjectModelBinderProvider Provides a model binder for mutable objects.
Public class NameValueCollectionValueProvider Represents the base class for value providers whose values come from a name/value collection.
Public class ProfileAttribute Represents an attribute that specifies that values for model binding are provided by a profile.
Public class ProfileValueProvider Represents a value provider for profile values.
Public class QueryStringAttribute Represents an attribute that specifies that model binding values are provided by a query string value.
Public class QueryStringValueProvider Represents a value provider for query-string values.
Public class RangeAttributeAdapter Provides an adapter for the RangeAttribute attribute.
Public class RegularExpressionAttributeAdapter Provides an adapter for the RegularExpressionAttribute attribute.
Public class RequiredAttributeAdapter Provides an adapter for the RequiredAttribute attribute.
Public class RouteDataAttribute Represents an attribute that specifies that values for model binding are provided by route data.
Public class RouteDataValueProvider Represents a value provider for route data.
Public class SessionAttribute Represents an attribute that specifies that values for model binding are provided by session state.
Public class SimpleModelBinderProvider Provides a model binder for a simple type.
Public class SimpleValueProvider Represents a value provider for single key/value lookups.
Public class StringLengthAttributeAdapter Provides an adapter for the StringLengthAttribute attribute.
Public class TypeConverterModelBinder Maps a browser request to a data object. This type is used when model binding requires conversions using a .NET Framework type converter.
Public class TypeConverterModelBinderProvider Provides a model binder for a model that requires type conversion.
Public class TypeMatchModelBinder Maps a browser request to a data object. This class is used when model binding does not require type conversion.
Public class TypeMatchModelBinderProvider Provides a model binder for a model that does not require type conversion.
Public class UserProfileAttribute Represents an attribute that specifies that values for model binding are provided by a user profile.
Public class UserProfileValueProvider Represents a value provider for user profiles.
Public class ValidatableObjectAdapter Provides an adapter for objects that implement the IValidatableObject interface.
Public class ValueProviderCollection Represents the collection of value-provider objects for the application.
Public class ValueProviderResult Represents the result of retrieving a value from a value provider.
Public class ValueProviderSourceAttribute Provides 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 class ViewStateAttribute Represents an attribute that specifies that values for model binding are provided by view state.
Public class ViewStateValueProvider Represents a value provider for view state values.

  Interface Description
Public interface IMetadataAware Defines a method that must be implemented by classes that are metadata-aware.
Public interface IModelBinder Defines the method that is required for a model binder.
Public interface IModelNameProvider Provides a way to specify an alternate name to use for model binding instead of using the parameter name.
Public interface IUnvalidatedValueProvider Defines the method that is required for an unvalidated value provider.
Public interface IUnvalidatedValueProviderSource Defines the methods that are required for a value provider that supports skipping request validation.
Public interface IValueProvider Defines the methods that are required for a value provider.
Public interface IValueProviderSource Defines the method that is required for a value provider source.

  Delegate Description
Public delegate DataAnnotationsModelValidationFactory Represents the method that creates a DataAnnotationsModelValidatorProvider instance.
Public delegate DataAnnotationsValidatableObjectAdapterFactory Represents a factory for validators that are based on the IValidatableObject interface.
Public delegate ModelBinderErrorMessageProvider Represents a method that provides a model-binding error message.

  Enumeration Description
Public enumeration BindingBehavior Enumerates model-binding behavior options.
Show:
© 2014 Microsoft