C# Class CyrusBuilt.MonoPi.Components.Lights.LightStateChangeEventArgs

Light state change event arguments class.
Inheritance: System.EventArgs
Exibir arquivo Open project: cyrusbuilt/MonoPi Class Usage Examples

Public Methods

Method Description
LightStateChangeEventArgs ( System.Boolean isOn ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Lights.LightStateChangeEventArgs class with a flag indicating whether or not the light is on.

Method Details

LightStateChangeEventArgs() public method

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Lights.LightStateChangeEventArgs class with a flag indicating whether or not the light is on.
public LightStateChangeEventArgs ( System.Boolean isOn ) : System
isOn System.Boolean /// If set to true is on. ///
return System