Class SignalEvent<TSignal>
An event containing a signal.
Inherited Members
Namespace: Ritchie.Toolbox.Signals
Assembly: Ritchie.Toolbox.dll
Syntax
public class SignalEvent<TSignal> : GuiEventType Parameters
| Name | Description | 
|---|---|
| TSignal | The type of signal contained within the signal event. | 
Constructors
SignalEvent(TSignal, Widget)
Creates a new instance of the SignalEvent<TSignal> class.
Declaration
public SignalEvent(TSignal signal, Widget sender)Parameters
| Type | Name | Description | 
|---|---|---|
| TSignal | signal | The signal to store inside the event | 
| Widget | sender | The widget that's sending the event | 
Properties
Sender
Gets the widget that sent the signal.
Declaration
public Widget Sender { get; }Property Value
| Type | Description | 
|---|---|
| Widget | 
Signal
Gets the actual signal.
Declaration
public TSignal Signal { get; }Property Value
| Type | Description | 
|---|---|
| TSignal | 
See Also
ISignalHandler<TSignal>
      SendSignal<TSignal>(TSignal, SignalDirection)