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
processorTypeTypeThe 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
TProcessorThe processor type.
AddRequestPostProcessor(Type, ServiceLifetime)
Adds a post-processor with a lifetime of its own.
public MediarionServiceConfiguration AddRequestPostProcessor(Type processorType, ServiceLifetime lifetime)
Parameters
processorTypeTypeThe processor type, which may be an open generic.
lifetimeServiceLifetimeHow 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
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
serviceTypeTypeThe contract to register it against.
implementationTypeTypeThe processor type.
lifetimeServiceLifetimeHow 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
lifetimeServiceLifetimeHow long an instance lives.
Returns
- MediarionServiceConfiguration
This, to carry on configuring.
Type Parameters
TProcessorThe 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
TServiceThe contract to register it against.
TImplementationThe 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
lifetimeServiceLifetimeHow long an instance lives.
Returns
- MediarionServiceConfiguration
This, to carry on configuring.
Type Parameters
TServiceThe contract to register it against.
TImplementationThe processor type.