Share via


MutableObjectModelBinder Class

 

Maps a browser request to a mutable data object.

Namespace:   Microsoft.Web.Mvc.ModelBinding
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Web.Mvc.ModelBinding.MutableObjectModelBinder

Syntax

public class MutableObjectModelBinder : IExtensibleModelBinder
public ref class MutableObjectModelBinder : IExtensibleModelBinder
type MutableObjectModelBinder = 
    class
        interface IExtensibleModelBinder
    end
Public Class MutableObjectModelBinder
    Implements IExtensibleModelBinder

Constructors

Name Description
System_CAPS_pubmethod MutableObjectModelBinder()

Initializes a new instance of the MutableObjectModelBinder class.

Methods

Name Description
System_CAPS_pubmethod BindModel(ControllerContext, ExtensibleModelBindingContext)

Binds the model by using the specified controller context and binding context.

System_CAPS_protmethod CanUpdateProperty(ModelMetadata)

Returns a value that indicates whether a property can be updated.

System_CAPS_protmethod CreateModel(ControllerContext, ExtensibleModelBindingContext)

Creates an instance of the model.

System_CAPS_protmethod EnsureModel(ControllerContext, ExtensibleModelBindingContext)

Creates a model instance if an instance does not yet exist in the binding context.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_protmethod GetMetadataForProperties(ControllerContext, ExtensibleModelBindingContext)

Returns metadata for properties of the model.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod SetProperty(ControllerContext, ExtensibleModelBindingContext, ModelMetadata, ComplexModelDtoResult)

Sets the value of a specified property.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Web.Mvc.ModelBinding Namespace

Return to top