共用方式為


IFilterFactory.CreateInstance(IServiceProvider) 方法

定義

建立可執行篩選準則的實例。

public:
 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
Public Function CreateInstance (serviceProvider As IServiceProvider) As IFilterMetadata

參數

serviceProvider
IServiceProvider

要求 IServiceProvider

傳回

可執行檔篩選的實例。

適用於