MutableObjectModelBinder.EnsureModel Metódus

Definíció

Létrehoz egy modellpéldányt, ha egy példány még nem létezik a kötési környezetben.

protected:
 virtual void EnsureModel(System::Web::ModelBinding::ModelBindingExecutionContext ^ modelBindingExecutionContext, System::Web::ModelBinding::ModelBindingContext ^ bindingContext);
protected virtual void EnsureModel(System.Web.ModelBinding.ModelBindingExecutionContext modelBindingExecutionContext, System.Web.ModelBinding.ModelBindingContext bindingContext);
abstract member EnsureModel : System.Web.ModelBinding.ModelBindingExecutionContext * System.Web.ModelBinding.ModelBindingContext -> unit
override this.EnsureModel : System.Web.ModelBinding.ModelBindingExecutionContext * System.Web.ModelBinding.ModelBindingContext -> unit
Protected Overridable Sub EnsureModel (modelBindingExecutionContext As ModelBindingExecutionContext, bindingContext As ModelBindingContext)

Paraméterek

modelBindingExecutionContext
ModelBindingExecutionContext

A végrehajtási környezet.

bindingContext
ModelBindingContext

A kötési környezet.

A következőre érvényes: