Editare

Partajați prin


MutableObjectModelBinder Class

Definition

Maps a browser request to a mutable data object.

public ref class MutableObjectModelBinder : System::Web::ModelBinding::IModelBinder
public class MutableObjectModelBinder : System.Web.ModelBinding.IModelBinder
type MutableObjectModelBinder = class
    interface IModelBinder
Public Class MutableObjectModelBinder
Implements IModelBinder
Inheritance
MutableObjectModelBinder
Implements

Constructors

MutableObjectModelBinder()

Initializes a new instance of the MutableObjectModelBinder class.

Methods

BindModel(ModelBindingExecutionContext, ModelBindingContext)

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

CanUpdateProperty(ModelMetadata)

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

CreateModel(ModelBindingExecutionContext, ModelBindingContext)

Creates an instance of the model.

EnsureModel(ModelBindingExecutionContext, ModelBindingContext)

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

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetMetadataForProperties(ModelBindingExecutionContext, ModelBindingContext)

Returns metadata for properties of the model.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SetProperty(ModelBindingExecutionContext, ModelBindingContext, ModelMetadata, ComplexModelResult)

Sets the value of a specified property.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to