Table of Contents

Method AddRequestPostProcessor

Namespace
Mediarion
Assembly
Mediarion.Extensions.DependencyInjection.dll

AddRequestPostProcessor(Type)

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

public MediarionServiceConfiguration AddRequestPostProcessor(Type processorType)

Parameters

processorType Type

The processor type.

Returns

MediarionServiceConfiguration

This, to carry on configuring.

AddRequestPostProcessor<TProcessor>()

Adds a post-processor.

public MediarionServiceConfiguration AddRequestPostProcessor<TProcessor>()

Returns

MediarionServiceConfiguration

This, to carry on configuring.

Type Parameters

TProcessor

The processor type.

AddRequestPostProcessor(Type, ServiceLifetime)

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

public MediarionServiceConfiguration AddRequestPostProcessor(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.

AddRequestPostProcessor(Type, Type)

Adds a post-processor against the one contract named.

public MediarionServiceConfiguration AddRequestPostProcessor(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.

AddRequestPostProcessor(Type, Type, ServiceLifetime)

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

public MediarionServiceConfiguration AddRequestPostProcessor(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.

AddRequestPostProcessor<TProcessor>(ServiceLifetime)

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

public MediarionServiceConfiguration AddRequestPostProcessor<TProcessor>(ServiceLifetime lifetime)

Parameters

lifetime ServiceLifetime

How long an instance lives.

Returns

MediarionServiceConfiguration

This, to carry on configuring.

Type Parameters

TProcessor

The processor type.

AddRequestPostProcessor<TService, TImplementation>()

Adds a post-processor against the one contract named.

public MediarionServiceConfiguration AddRequestPostProcessor<TService, TImplementation>()

Returns

MediarionServiceConfiguration

This, to carry on configuring.

Type Parameters

TService

The contract to register it against.

TImplementation

The processor type.

AddRequestPostProcessor<TService, TImplementation>(ServiceLifetime)

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

public MediarionServiceConfiguration AddRequestPostProcessor<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.