MutableObjectModelBinder 类

定义

将浏览器请求映射到可变数据对象。

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
继承
MutableObjectModelBinder
实现

构造函数

名称 说明
MutableObjectModelBinder()

初始化 MutableObjectModelBinder 类的新实例。

方法

名称 说明
BindModel(ModelBindingExecutionContext, ModelBindingContext)

使用指定的执行上下文和绑定上下文绑定模型。

CanUpdateProperty(ModelMetadata)

返回一个值,该值指示是否可以更新属性。

CreateModel(ModelBindingExecutionContext, ModelBindingContext)

创建模型的实例。

EnsureModel(ModelBindingExecutionContext, ModelBindingContext)

如果绑定上下文中尚不存在实例,则创建模型实例。

Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetMetadataForProperties(ModelBindingExecutionContext, ModelBindingContext)

返回模型的属性的元数据。

GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
SetProperty(ModelBindingExecutionContext, ModelBindingContext, ModelMetadata, ComplexModelResult)

设置指定属性的值。

ToString()

返回一个表示当前对象的字符串。

(继承自 Object)

适用于