Interface IMessageReceiverFactory
- Namespace
- Signal.Application.Abstractions
- Assembly
- Signal.Application.dll
Resolves the IMessageReceiver responsible for an ExecutionMode.
public interface IMessageReceiverFactory
Methods
Create(ExecutionMode)
Returns the receiver registered for mode.
IMessageReceiver Create(ExecutionMode mode)
Parameters
modeExecutionModeThe container's execution mode.
Returns
- IMessageReceiver
The receiver.
Exceptions
- InvalidOperationException
No receiver is registered for the mode.