Table of Contents

Method AddStreamBehavior

Namespace
Mediarion
Assembly
Mediarion.Streaming.dll

AddStreamBehavior(IServiceCollection, Type)

Adds a stream pipeline behaviour, which may be an open generic.

[RequiresUnreferencedCode("A behaviour is registered against the contracts it implements.")]
[RequiresDynamicCode("A behaviour is registered against generics closed at run time.")]
public static IServiceCollection AddStreamBehavior(this IServiceCollection services, Type behaviourType)

Parameters

services IServiceCollection

The container.

behaviourType Type

The behaviour type.

Returns

IServiceCollection

The container, to carry on configuring.

Remarks

Behaviours run in the order they are added, outermost first.