A helper for command and event buses that also caches IConfigurationManager look ups.
More...
|
| BusHelper (IConfigurationManager configurationManager, IContextItemCollectionFactory factory) |
| Instantiates a new instance of BusHelper More...
|
|
virtual bool | IsEventRequired (Type messageType) |
| Checks if a white-list or black-list approach is taken, then checks the IConfigurationManager to see if a key exists defining if the event is required or not. If the event is required and it cannot be resolved, an error will be raised. Otherwise the event will be marked as processed. More...
|
|
virtual bool | IsEventRequired (string configurationKey) |
| Checks if a white-list or black-list approach is taken, then checks the IConfigurationManager to see if a key exists defining if the event is required or not. If the event is required and it cannot be resolved, an error will be raised. Otherwise the event will be marked as processed. More...
|
|
virtual ? bool | IsPrivateBusRequired (Type messageType) |
| Checks if the private bus is required to send the message. Note, this does not imply the public bus is not required as well. More...
|
|
virtual ? bool | IsPublicBusRequired (Type messageType) |
| Checks if the public bus is required to send the message. Note, this does not imply the public bus is not required as well. More...
|
|
virtual Action< TMessage > | BuildTelemeteredActionHandler< TMessage, TAuthenticationToken > (ITelemetryHelper telemetryHelper, Action< TMessage > handler, bool holdMessageLock, string source) |
| Build a message handler that implements telemetry capturing as well as off thread handling. More...
|
|
virtual Action< TMessage > | BuildActionHandler< TMessage > (Action< TMessage > handler, bool holdMessageLock) |
| Build a message handler that implements telemetry capturing as well as off thread handling. More...
|
|
bool | GetWasPrivateBusUsed () |
| Indicates if the message was received via the private bus or not. If false, this implies the public was use used. More...
|
|
bool | SetWasPrivateBusUsed (bool wasPrivate) |
| Set whether the message was received via the private bus or not. If false, this indicates the public was use used. More...
|
|
A helper for command and event buses that also caches IConfigurationManager look ups.