Table of Contents

Method AddRequestPreProcessor

Namespace
Mediarion
Assembly
Mediarion.Extensions.DependencyInjection.dll

AddRequestPreProcessor(Type)

Adds a pre-processor, which may be an open generic.

public MediarionServiceConfiguration AddRequestPreProcessor(Type processorType)

Parameters

processorType Type

The processor type.

Returns

MediarionServiceConfiguration

This, to carry on configuring.

AddRequestPreProcessor<TProcessor>()

Adds a pre-processor.

public MediarionServiceConfiguration AddRequestPreProcessor<TProcessor>()

Returns

MediarionServiceConfiguration

This, to carry on configuring.

Type Parameters

TProcessor

The processor type.

AddRequestPreProcessor(Type, ServiceLifetime)

Adds a pre-processor with a lifetime of its own.

public MediarionServiceConfiguration AddRequestPreProcessor(Type processorType, ServiceLifetime lifetime)

Parameters

processorType Type

The processor type, which may be an open generic.

lifetime ServiceLifetime

How long an instance lives.

Returns

MediarionServiceConfiguration

This, to carry on configuring.

AddRequestPreProcessor(Type, Type)

Adds a pre-processor against the one contract named.

public MediarionServiceConfiguration AddRequestPreProcessor(Type serviceType, Type implementationType)

Parameters

serviceType Type

The contract to register it against.

implementationType Type

The processor type.

Returns

MediarionServiceConfiguration

This, to carry on configuring.

AddRequestPreProcessor(Type, Type, ServiceLifetime)

Adds a pre-processor against the one contract named, with a lifetime.

public MediarionServiceConfiguration AddRequestPreProcessor(Type serviceType, Type implementationType, ServiceLifetime lifetime)

Parameters

serviceType Type

The contract to register it against.

implementationType Type

The processor type.

lifetime ServiceLifetime

How long an instance lives.

Returns

MediarionServiceConfiguration

This, to carry on configuring.

AddRequestPreProcessor<TProcessor>(ServiceLifetime)

Adds a pre-processor with a lifetime of its own.

public MediarionServiceConfiguration AddRequestPreProcessor<TProcessor>(ServiceLifetime lifetime)

Parameters

lifetime ServiceLifetime

How long an instance lives.

Returns

MediarionServiceConfiguration

This, to carry on configuring.

Type Parameters

TProcessor

The processor type.

AddRequestPreProcessor<TService, TImplementation>()

Adds a pre-processor against the one contract named.

public MediarionServiceConfiguration AddRequestPreProcessor<TService, TImplementation>()

Returns

MediarionServiceConfiguration

This, to carry on configuring.

Type Parameters

TService

The contract to register it against.

TImplementation

The processor type.

AddRequestPreProcessor<TService, TImplementation>(ServiceLifetime)

Adds a pre-processor against the one contract named, with a lifetime.

public MediarionServiceConfiguration AddRequestPreProcessor<TService, TImplementation>(ServiceLifetime lifetime)

Parameters

lifetime ServiceLifetime

How long an instance lives.

Returns

MediarionServiceConfiguration

This, to carry on configuring.

Type Parameters

TService

The contract to register it against.

TImplementation

The processor type.