StreamingServiceCollectionExtensions.AddStreamFilter<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a stream filter.
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
Type Parameters
- T
The stream filter type.
Parameters
- services
- IServiceCollection
The service collection.
- name
- String
The stream filter name.
Returns
The service collection.