共用方式為


StreamingServiceCollectionExtensions.AddStreamFilter<T> 方法

定義

新增資料流程篩選。

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddStreamFilter<T> (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, string name) where T : class, Orleans.Streams.Filtering.IStreamFilter;
static member AddStreamFilter : Microsoft.Extensions.DependencyInjection.IServiceCollection * string -> Microsoft.Extensions.DependencyInjection.IServiceCollection (requires 'T : null and 'T :> Orleans.Streams.Filtering.IStreamFilter)
<Extension()>
Public Function AddStreamFilter(Of T As {Class, IStreamFilter}) (services As IServiceCollection, name As String) As IServiceCollection

類型參數

T

資料流程篩選類型。

參數

services
IServiceCollection

服務集合。

name
String

資料流程篩選名稱。

傳回

服務集合。

適用於