Interface ISignalHandler<TSignal>
Interface for an object that can receive a signal of type TSignal
Namespace: Ritchie.Toolbox.Signals
Assembly: Ritchie.Toolbox.dll
Syntax
public interface ISignalHandler<TSignal>
Type Parameters
| Name | Description |
|---|---|
| TSignal | The type of signal to be received. |
Methods
HandleSignal(SignalEvent<TSignal>)
Handle an incoming signal.
Declaration
void HandleSignal(SignalEvent<TSignal> signalEvent)
Parameters
| Type | Name | Description |
|---|---|---|
| SignalEvent<TSignal> | signalEvent | A SignalEvent<TSignal> containing the signal. |