C# Класс CyrusBuilt.MonoPi.Components.Switches.SwitchStateChangeEventArgs

Switch state change event arguments class.
Наследование: System.EventArgs
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
SwitchStateChangeEventArgs ( SwitchState oldState, SwitchState newState ) : System

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

Описание методов

SwitchStateChangeEventArgs() публичный Метод

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. ///
Результат System