Export (0) Print
Expand All

DefaultModelBinder Methods

.NET Framework 4

The DefaultModelBinder type exposes the following members.

  NameDescription
Public method BindModel Binds the model by using the specified controller context and binding context.
Protected method BindProperty Binds the specified property by using the specified controller context and binding context and the specified property descriptor.
Protected method CreateModel Creates the specified model type by using the specified controller context and binding context.
Protected method Static member CreateSubIndexName(String, Int32) Creates an index (a subindex) based on a category of components that make up a larger index, where the specified index value is an integer.
Protected method Static member CreateSubIndexName(String, String) Creates an index (a subindex) based on a category of components that make up a larger index, where the specified index value is a string.
Protected method Static member CreateSubPropertyName Creates the name of the subproperty by using the specified prefix and property name.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected method GetFilteredModelProperties Returns a set of properties that match the property filter restrictions that are established by the specified binding context.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetModelProperties Returns the properties of the model by using the specified controller context and binding context.
Protected method GetPropertyValue Returns the value of a property using the specified controller context, binding context, property descriptor, and property binder.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method GetTypeDescriptor Returns the descriptor object for a type that is specified by its controller context and binding context.
Protected method Static member IsModelValid Determines whether a data model is valid for the specified binding context.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnModelUpdated Called when the model is updated.
Protected method OnModelUpdating Called when the model is updating.
Protected method OnPropertyValidated Called when the specified property is validated.
Protected method OnPropertyValidating Called when the specified property is validating.
Protected method SetProperty Sets the specified property by using the specified controller context, binding context, and property value.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft