Udostępnij za pośrednictwem


MutableObjectModelBinderProvider.GetBinder Metoda

Definicja

Zwraca powiązanie modelu dla obiektu modyfikowalnego.

public:
 override System::Web::ModelBinding::IModelBinder ^ GetBinder(System::Web::ModelBinding::ModelBindingExecutionContext ^ modelBindingExecutionContext, System::Web::ModelBinding::ModelBindingContext ^ bindingContext);
public override System.Web.ModelBinding.IModelBinder GetBinder (System.Web.ModelBinding.ModelBindingExecutionContext modelBindingExecutionContext, System.Web.ModelBinding.ModelBindingContext bindingContext);
override this.GetBinder : System.Web.ModelBinding.ModelBindingExecutionContext * System.Web.ModelBinding.ModelBindingContext -> System.Web.ModelBinding.IModelBinder
Public Overrides Function GetBinder (modelBindingExecutionContext As ModelBindingExecutionContext, bindingContext As ModelBindingContext) As IModelBinder

Parametry

modelBindingExecutionContext
ModelBindingExecutionContext

Kontekst wykonywania.

bindingContext
ModelBindingContext

Kontekst powiązania.

Zwraca

Binder modelu.

Dotyczy