Share via


CompositeValueProvider.CreateAsync Méthode

Définition

Surcharges

CreateAsync(ControllerContext)

Crée de manière asynchrone un CompositeValueProvider à l’aide du fourni controllerContext.

CreateAsync(ActionContext, IList<IValueProviderFactory>)

Crée de manière asynchrone un CompositeValueProvider à l’aide du fourni actionContext.

CreateAsync(ControllerContext)

Source:
CompositeValueProvider.cs
Source:
CompositeValueProvider.cs

Crée de manière asynchrone un CompositeValueProvider à l’aide du fourni 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)

Paramètres

controllerContext
ControllerContext

ControllerContext associé à la demande actuelle.

Retours

Task<TResult> qui, une fois terminé, retourne de manière asynchrone un CompositeValueProvider.

S’applique à

CreateAsync(ActionContext, IList<IValueProviderFactory>)

Source:
CompositeValueProvider.cs
Source:
CompositeValueProvider.cs

Crée de manière asynchrone un CompositeValueProvider à l’aide du fourni 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)

Paramètres

actionContext
ActionContext

ActionContext associé à la demande actuelle.

factories
IList<IValueProviderFactory>

IValueProviderFactory à appliquer au contexte.

Retours

Task<TResult> qui, une fois terminé, retourne de manière asynchrone un CompositeValueProvider.

S’applique à