ServiceCollectionExtensions 类

定义

用于配置依赖项注入的扩展方法。

public static class ServiceCollectionExtensions
type ServiceCollectionExtensions = class
Public Module ServiceCollectionExtensions
继承
ServiceCollectionExtensions

方法

AddGrainCallFilter(IServiceCollection, GrainCallFilterDelegate)

通过委托将筛选器 IGrainCallFilter 管道添加到筛选器管道。

AddGrainCallFilter(IServiceCollection, IGrainCallFilter)

向筛选器管道添加一个 IGrainCallFilter

AddGrainCallFilter<TImplementation>(IServiceCollection)

向筛选器管道添加一个 IGrainCallFilter

适用于