CQRS.NET  4.0
A lightweight enterprise Function as a Service (FaaS) framework to write function based serverless and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
Cqrs.Bus.IBusHelper Interface Reference

A helper for command and event buses. More...

+ Inheritance diagram for Cqrs.Bus.IBusHelper:

Public Member Functions

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...
 
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...
 
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...
 
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...
 
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...
 
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...
 

Detailed Description

A helper for command and event buses.