C# Class DotNetWorkQueue.Configuration.TransportInitReceive

This class allows a transport to inject its dependencies into the root container.
This represents a transport that can receive messages.
Inheritance: ITransportInitReceive
Datei anzeigen Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
RegisterImplementations ( IContainer container, RegistrationTypes registrationType, string connection, string queue ) : void

Allows a transport to register its dependencies in the IoC container.

SetDefaultsIfNeeded ( IContainer container, RegistrationTypes registrationType, ConnectionTypes connectionType ) : void

Allows the transport to set default configuration settings or other values

SuppressWarningsIfNeeded ( IContainer container, RegistrationTypes registrationType ) : void

Allows a transport to suppress specific warnings for specific types if newed.

Method Details

RegisterImplementations() public abstract method

Allows a transport to register its dependencies in the IoC container.
public abstract RegisterImplementations ( IContainer container, RegistrationTypes registrationType, string connection, string queue ) : void
container IContainer The container.
registrationType RegistrationTypes Type of the registration.
connection string The connection.
queue string The queue.
return void

SetDefaultsIfNeeded() public method

Allows the transport to set default configuration settings or other values
public SetDefaultsIfNeeded ( IContainer container, RegistrationTypes registrationType, ConnectionTypes connectionType ) : void
container IContainer The container.
registrationType RegistrationTypes Type of the registration.
connectionType ConnectionTypes Type of the requested connection.
return void

SuppressWarningsIfNeeded() public method

Allows a transport to suppress specific warnings for specific types if newed.
public SuppressWarningsIfNeeded ( IContainer container, RegistrationTypes registrationType ) : void
container IContainer The container.
registrationType RegistrationTypes Type of the registration.
return void