Class BusControlFactory
Defines a method for creating an IBusControl instance.
Inheritance
System.Object
BusControlFactory
Implements
Namespace: Copper.MassTransit
Assembly: Copper.MassTransit.dll
Syntax
public class BusControlFactory : IBusControlFactory
Constructors
View SourceBusControlFactory(ILoggerFactory)
Initializes a new instance of the BusControlFactory class.
Declaration
public BusControlFactory(ILoggerFactory loggerFactory)
Parameters
Type | Name | Description |
---|---|---|
ILoggerFactory | loggerFactory | The logger factory to be used to configure MassTransit logging. |
Methods
View SourceCreate(BusControlSettings)
Creates an IBusControl instance.
Declaration
public IBusControl Create(BusControlSettings busControlSettings)
Parameters
Type | Name | Description |
---|---|---|
BusControlSettings | busControlSettings | The bus control settings. |
Returns
Type | Description |
---|---|
IBusControl | The IBusControl instance. |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException |