共用方式為


FormFileValueProviderFactory.CreateValueProviderAsync 方法

定義

使用目前要求的值建立 , IValueProvider 並將它新增至 ValueProviders 清單。

public:
 virtual System::Threading::Tasks::Task ^ CreateValueProviderAsync(Microsoft::AspNetCore::Mvc::ModelBinding::ValueProviderFactoryContext ^ context);
public System.Threading.Tasks.Task CreateValueProviderAsync (Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryContext context);
abstract member CreateValueProviderAsync : Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryContext -> System.Threading.Tasks.Task
override this.CreateValueProviderAsync : Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryContext -> System.Threading.Tasks.Task
Public Function CreateValueProviderAsync (context As ValueProviderFactoryContext) As Task

參數

傳回

Task 完成時,如果適用,則會將實例新增 IValueProviderValueProviders 清單。

實作

適用於