Bagikan melalui


CompositeValueProvider.CreateAsync Metode

Definisi

Overload

CreateAsync(ControllerContext)

Secara asinkron membuat CompositeValueProvider menggunakan yang disediakan controllerContext.

CreateAsync(ActionContext, IList<IValueProviderFactory>)

Secara asinkron membuat CompositeValueProvider menggunakan yang disediakan actionContext.

CreateAsync(ControllerContext)

Sumber:
CompositeValueProvider.cs
Sumber:
CompositeValueProvider.cs
Sumber:
CompositeValueProvider.cs

Secara asinkron membuat CompositeValueProvider menggunakan yang disediakan 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)

Parameter

controllerContext
ControllerContext

Yang ControllerContext terkait dengan permintaan saat ini.

Mengembalikan

A Task<TResult> yang, ketika selesai, secara asinkron mengembalikan CompositeValueProvider.

Berlaku untuk

CreateAsync(ActionContext, IList<IValueProviderFactory>)

Sumber:
CompositeValueProvider.cs
Sumber:
CompositeValueProvider.cs
Sumber:
CompositeValueProvider.cs

Secara asinkron membuat CompositeValueProvider menggunakan yang disediakan 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)

Parameter

actionContext
ActionContext

Yang ActionContext terkait dengan permintaan saat ini.

factories
IList<IValueProviderFactory>

yang IValueProviderFactory akan diterapkan ke konteks.

Mengembalikan

A Task<TResult> yang, ketika selesai, secara asinkron mengembalikan CompositeValueProvider.

Berlaku untuk