CompositeValueProvider.CreateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateAsync(ControllerContext) |
Asynchronously creates a CompositeValueProvider using the provided
|
CreateAsync(ActionContext, IList<IValueProviderFactory>) |
Asynchronously creates a CompositeValueProvider using the provided
|
CreateAsync(ControllerContext)
- Source:
- CompositeValueProvider.cs
- Source:
- CompositeValueProvider.cs
- Source:
- CompositeValueProvider.cs
Asynchronously creates a CompositeValueProvider using the provided
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)
Parameters
- controllerContext
- ControllerContext
The ControllerContext associated with the current request.
Returns
A Task<TResult> which, when completed, asynchronously returns a CompositeValueProvider.
Applies to
CreateAsync(ActionContext, IList<IValueProviderFactory>)
- Source:
- CompositeValueProvider.cs
- Source:
- CompositeValueProvider.cs
- Source:
- CompositeValueProvider.cs
Asynchronously creates a CompositeValueProvider using the provided
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)
Parameters
- actionContext
- ActionContext
The ActionContext associated with the current request.
- factories
- IList<IValueProviderFactory>
The IValueProviderFactory to be applied to the context.
Returns
A Task<TResult> which, when completed, asynchronously returns a CompositeValueProvider.