Compartir vía


ProfileAttribute.GetValueProvider(ModelBindingExecutionContext) Método

Definición

Obtiene el proveedor de valor.

public:
 override System::Web::ModelBinding::IValueProvider ^ GetValueProvider(System::Web::ModelBinding::ModelBindingExecutionContext ^ modelBindingExecutionContext);
public override System.Web.ModelBinding.IValueProvider GetValueProvider (System.Web.ModelBinding.ModelBindingExecutionContext modelBindingExecutionContext);
override this.GetValueProvider : System.Web.ModelBinding.ModelBindingExecutionContext -> System.Web.ModelBinding.IValueProvider
Public Overrides Function GetValueProvider (modelBindingExecutionContext As ModelBindingExecutionContext) As IValueProvider

Parámetros

modelBindingExecutionContext
ModelBindingExecutionContext

contexto de ejecución.

Devoluciones

IValueProvider

Nueva instancia de la clase ProfileValueProvider.

Excepciones

El parámetro modelBindingExecutionContext es null.

Se aplica a