Compartir a través de


ModelBinderProvider.GetBinder Método

Definición

Cuando se invalida en una clase derivada, obtiene un enlazador de modelos.

public:
 abstract System::Web::ModelBinding::IModelBinder ^ GetBinder(System::Web::ModelBinding::ModelBindingExecutionContext ^ modelBindingExecutionContext, System::Web::ModelBinding::ModelBindingContext ^ bindingContext);
public abstract System.Web.ModelBinding.IModelBinder GetBinder (System.Web.ModelBinding.ModelBindingExecutionContext modelBindingExecutionContext, System.Web.ModelBinding.ModelBindingContext bindingContext);
abstract member GetBinder : System.Web.ModelBinding.ModelBindingExecutionContext * System.Web.ModelBinding.ModelBindingContext -> System.Web.ModelBinding.IModelBinder
Public MustOverride Function GetBinder (modelBindingExecutionContext As ModelBindingExecutionContext, bindingContext As ModelBindingContext) As IModelBinder

Parámetros

modelBindingExecutionContext
ModelBindingExecutionContext

Contexto de ejecución.

bindingContext
ModelBindingContext

El contexto de enlace.

Devoluciones

Enlazador de modelos.

Se aplica a