Volume Control
Application-specific hotkeys for Windows
VolumeControl.Core.Events Namespace Reference

Classes

class  InterruptEventArgs
 Event arguments that include an incoming and outgoing value, as well as a settable Handled property to interrupt the sender. More...
 

Functions

delegate void InterruptEventHandler< T > (object sender, InterruptEventArgs< T > e)
 Event with an incoming and outgoing value that allows handlers to interrupt it by setting InterruptEventArgs<T>.Handled to true. More...
 

Function Documentation

◆ InterruptEventHandler< T >()

delegate void VolumeControl.Core.Events.InterruptEventHandler< T > ( object  sender,
InterruptEventArgs< T >  e 
)

Event with an incoming and outgoing value that allows handlers to interrupt it by setting InterruptEventArgs<T>.Handled to true.

This is intended for use in cases where the sender wants to allow handlers to prevent a change from occurring.

Template Parameters
TThe type of value for this event.
Parameters
senderThe object that sent this event.
eThe event arguments for this event.