CQRS.NET  2.1
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.

◆ IsEventRequired() [1/2]

virtual bool Cqrs.Bus.BusHelper.IsEventRequired ( Type  messageType)
virtual

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.

Parameters
messageTypeThe Type of the message being processed.

Implements Cqrs.Bus.IBusHelper.