Table of Contents

Method AddOpenRequestPreProcessor

Namespace
Mediarion
Assembly
Mediarion.Extensions.DependencyInjection.dll

AddOpenRequestPreProcessor(Type)

Adds an open-generic pre-processor.

public MediarionServiceConfiguration AddOpenRequestPreProcessor(Type processorType)

Parameters

processorType Type

The open generic processor type.

Returns

MediarionServiceConfiguration

This, to carry on configuring.

AddOpenRequestPreProcessor(Type, ServiceLifetime)

Adds an open-generic pre-processor with a lifetime of its own.

public MediarionServiceConfiguration AddOpenRequestPreProcessor(Type processorType, ServiceLifetime lifetime)

Parameters

processorType Type

The open generic processor type.

lifetime ServiceLifetime

How long an instance lives.

Returns

MediarionServiceConfiguration

This, to carry on configuring.