Volume Control
Application-specific hotkeys for Windows
|
Event arguments that include an incoming and outgoing value, as well as a settable Handled property to interrupt the sender. More...
Public Member Functions | |
InterruptEventArgs (T outgoingValue, T incomingValue) | |
Creates a new InterruptEventArgs<T> instance with the specified outgoingValue and incomingValue . More... | |
Properties | |
bool | Handled [get, set] |
Gets or sets whether this event has been completely handled or whether the sender should continue its own processing. More... | |
virtual T | OutgoingValue [get] |
Gets the current (outgoing) value that will be replaced by the IncomingValue when Handled is false . More... | |
virtual T | IncomingValue [get] |
Gets the incoming value. More... | |
Event arguments that include an incoming and outgoing value, as well as a settable Handled property to interrupt the sender.
T | The type of value for this event. |
VolumeControl.Core.Events.InterruptEventArgs< T >.InterruptEventArgs | ( | T | outgoingValue, |
T | incomingValue | ||
) |
Creates a new InterruptEventArgs<T> instance with the specified outgoingValue and incomingValue .
outgoingValue | The current value that will be replaced by the incomingValue when Handled is still false after all handlers have finished with this event. |
incomingValue | The new value that will potentially be replacing the outgoingValue . |
References VolumeControl.Core.Events.InterruptEventArgs< T >.IncomingValue, and VolumeControl.Core.Events.InterruptEventArgs< T >.OutgoingValue.
|
getset |
Gets or sets whether this event has been completely handled or whether the sender should continue its own processing.
true
when the sender should be interrupted; otherwise, false
.
|
get |
Gets the incoming value.
Referenced by VolumeControl.Core.Events.InterruptEventArgs< T >.InterruptEventArgs().
|
get |
Gets the current (outgoing) value that will be replaced by the IncomingValue when Handled is false
.
Referenced by VolumeControl.Core.Events.InterruptEventArgs< T >.InterruptEventArgs().