C# Class NServiceBus.AutofacExtensions

Autofac extension to pass an existing Autofac container instance.
Show file Open project: Particular/NServiceBus.Autofac

Public Methods

Method Description
ExistingLifetimeScope ( this customizations, ILifetimeScope lifetimeScope ) : void

Use the a pre-configured AutoFac lifetime scope.

Method Details

ExistingLifetimeScope() public static method

Use the a pre-configured AutoFac lifetime scope.
public static ExistingLifetimeScope ( this customizations, ILifetimeScope lifetimeScope ) : void
customizations this
lifetimeScope ILifetimeScope The existing lifetime scope to use.
return void