Compartilhar via


CompositeValueProvider.CreateAsync Método

Definição

Sobrecargas

CreateAsync(ControllerContext)

Cria de forma assíncrona um CompositeValueProvider usando o fornecido controllerContext.

CreateAsync(ActionContext, IList<IValueProviderFactory>)

Cria de forma assíncrona um CompositeValueProvider usando o fornecido actionContext.

CreateAsync(ControllerContext)

Origem:
CompositeValueProvider.cs
Origem:
CompositeValueProvider.cs
Origem:
CompositeValueProvider.cs

Cria de forma assíncrona um CompositeValueProvider usando o fornecido 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)

Parâmetros

controllerContext
ControllerContext

O ControllerContext associado à solicitação atual.

Retornos

Um Task<TResult> que, quando concluído, retorna de forma assíncrona um CompositeValueProvider.

Aplica-se a

CreateAsync(ActionContext, IList<IValueProviderFactory>)

Origem:
CompositeValueProvider.cs
Origem:
CompositeValueProvider.cs
Origem:
CompositeValueProvider.cs

Cria de forma assíncrona um CompositeValueProvider usando o fornecido 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)

Parâmetros

actionContext
ActionContext

O ActionContext associado à solicitação atual.

factories
IList<IValueProviderFactory>

O IValueProviderFactory a ser aplicado ao contexto.

Retornos

Um Task<TResult> que, quando concluído, retorna de forma assíncrona um CompositeValueProvider.

Aplica-se a