IModelBinder 接口

定义

定义模型联编程序所需的方法。Defines the method that is required for a model binder.

public interface class IModelBinder
public interface IModelBinder
type IModelBinder = interface
Public Interface IModelBinder
派生

方法

BindModel(ModelBindingExecutionContext, ModelBindingContext)

使用指定的执行上下文和绑定上下文将模型绑定到一个值。Binds the model to a value by using the specified execution context and binding context.

适用于