Table of Contents

Method AddOpenStreamBehavior

Namespace
Mediarion
Assembly
Mediarion.Extensions.DependencyInjection.dll

AddOpenStreamBehavior(Type)

Adds an open-generic streaming pipeline behaviour.

public MediarionServiceConfiguration AddOpenStreamBehavior(Type behaviourType)

Parameters

behaviourType Type

The open generic behaviour type.

Returns

MediarionServiceConfiguration

This, to carry on configuring.

AddOpenStreamBehavior(Type, ServiceLifetime)

Adds an open-generic streaming pipeline behaviour with a lifetime of its own.

public MediarionServiceConfiguration AddOpenStreamBehavior(Type behaviourType, ServiceLifetime lifetime)

Parameters

behaviourType Type

The open generic behaviour type.

lifetime ServiceLifetime

How long an instance lives.

Returns

MediarionServiceConfiguration

This, to carry on configuring.