C# Class CyrusBuilt.MonoPi.Components.Switches.SwitchStateChangeEventArgs

Switch state change event arguments class.
Inheritance: System.EventArgs
Afficher le fichier Open project: cyrusbuilt/MonoPi Class Usage Examples

Méthodes publiques

Méthode Description
SwitchStateChangeEventArgs ( SwitchState oldState, SwitchState newState ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Switches.SwitchStateChangeEventArgs class with the old and new states.

Method Details

SwitchStateChangeEventArgs() public méthode

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Switches.SwitchStateChangeEventArgs class with the old and new states.
public SwitchStateChangeEventArgs ( SwitchState oldState, SwitchState newState ) : System
oldState SwitchState /// The previous state of the switch. ///
newState SwitchState /// The new state of the switch. ///
Résultat System