C# Class DotNetWorkQueue.QueueCreationContainer

Creates a module for creating queues.
Inheritance: BaseContainer
Exibir arquivo Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
GetQueueCreation ( QueueConnection queueConnection ) : TQueue

Gets the requested module for creating a queue.

QueueCreationContainer ( ) : System

Initializes a new instance of the QueueCreationContainer{T} class.

QueueCreationContainer ( Action registerService, Action setOptions = null ) : System

Initializes a new instance of the QueueCreationContainer{T} class.

SetContainerFactory ( Func createContainer ) : void

Sets the container creation function. This allows you to use your own IoC container, instead of the built in one.

Method Details

GetQueueCreation() public method

Gets the requested module for creating a queue.
public GetQueueCreation ( QueueConnection queueConnection ) : TQueue
queueConnection QueueConnection Queue and connection information.
return TQueue

QueueCreationContainer() public method

Initializes a new instance of the QueueCreationContainer{T} class.
public QueueCreationContainer ( ) : System
return System

QueueCreationContainer() public method

Initializes a new instance of the QueueCreationContainer{T} class.
public QueueCreationContainer ( Action registerService, Action setOptions = null ) : System
registerService Action Override the default services.
setOptions Action The options.
return System

SetContainerFactory() public static method

Sets the container creation function. This allows you to use your own IoC container, instead of the built in one.
public static SetContainerFactory ( Func createContainer ) : void
createContainer Func
return void