SaveTempDataAttribute.CreateInstance(IServiceProvider) 方法

定义

创建可执行筛选器的实例。

public:
 virtual Microsoft::AspNetCore::Mvc::Filters::IFilterMetadata ^ CreateInstance(IServiceProvider ^ serviceProvider);
public Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata CreateInstance (IServiceProvider serviceProvider);
abstract member CreateInstance : IServiceProvider -> Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata
override this.CreateInstance : IServiceProvider -> Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata
Public Function CreateInstance (serviceProvider As IServiceProvider) As IFilterMetadata

参数

serviceProvider
IServiceProvider

请求 IServiceProvider

返回

可执行筛选器的实例。

实现

适用于