QueryStringValueProviderFactory.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 ,在完成时会将实例 IValueProvider 添加到 ValueProviders 列表(如果适用)。

实现

适用于