Condividi tramite


CompositeValueProvider.CreateAsync Metodo

Definizione

Overload

CreateAsync(ControllerContext)

Crea in modo asincrono un CompositeValueProvider oggetto usando l'oggetto specificato controllerContext.

CreateAsync(ActionContext, IList<IValueProviderFactory>)

Crea in modo asincrono un CompositeValueProvider oggetto usando l'oggetto specificato actionContext.

CreateAsync(ControllerContext)

Origine:
CompositeValueProvider.cs
Origine:
CompositeValueProvider.cs
Origine:
CompositeValueProvider.cs

Crea in modo asincrono un CompositeValueProvider oggetto usando l'oggetto specificato controllerContext.

public:
 static System::Threading::Tasks::Task<Microsoft::AspNetCore::Mvc::ModelBinding::CompositeValueProvider ^> ^ CreateAsync(Microsoft::AspNetCore::Mvc::ControllerContext ^ controllerContext);
public static System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ModelBinding.CompositeValueProvider> CreateAsync (Microsoft.AspNetCore.Mvc.ControllerContext controllerContext);
static member CreateAsync : Microsoft.AspNetCore.Mvc.ControllerContext -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ModelBinding.CompositeValueProvider>
Public Shared Function CreateAsync (controllerContext As ControllerContext) As Task(Of CompositeValueProvider)

Parametri

controllerContext
ControllerContext

Oggetto ControllerContext associato alla richiesta corrente.

Restituisce

Oggetto Task<TResult> che, al termine, restituisce in modo asincrono un CompositeValueProvideroggetto .

Si applica a

CreateAsync(ActionContext, IList<IValueProviderFactory>)

Origine:
CompositeValueProvider.cs
Origine:
CompositeValueProvider.cs
Origine:
CompositeValueProvider.cs

Crea in modo asincrono un CompositeValueProvider oggetto usando l'oggetto specificato actionContext.

public:
 static System::Threading::Tasks::Task<Microsoft::AspNetCore::Mvc::ModelBinding::CompositeValueProvider ^> ^ CreateAsync(Microsoft::AspNetCore::Mvc::ActionContext ^ actionContext, System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::ModelBinding::IValueProviderFactory ^> ^ factories);
public static System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ModelBinding.CompositeValueProvider> CreateAsync (Microsoft.AspNetCore.Mvc.ActionContext actionContext, System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory> factories);
static member CreateAsync : Microsoft.AspNetCore.Mvc.ActionContext * System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory> -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ModelBinding.CompositeValueProvider>
Public Shared Function CreateAsync (actionContext As ActionContext, factories As IList(Of IValueProviderFactory)) As Task(Of CompositeValueProvider)

Parametri

actionContext
ActionContext

Oggetto ActionContext associato alla richiesta corrente.

factories
IList<IValueProviderFactory>

Oggetto IValueProviderFactory da applicare al contesto.

Restituisce

Oggetto Task<TResult> che, al termine, restituisce in modo asincrono un CompositeValueProvideroggetto .

Si applica a