C# Class CyrusBuilt.MonoPi.Devices.Fireplace.FireplaceStateChangedEventArgs

Fireplace state change event arguments.
Inheritance: System.EventArgs
显示文件 Open project: cyrusbuilt/MonoPi Class Usage Examples

Public Methods

Method Description
FireplaceStateChangedEventArgs ( FireplaceState oldState, FireplaceState newState ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Devices.Fireplace.FireplaceStateChangedEventArgs class with the new and old states.

Method Details

FireplaceStateChangedEventArgs() public method

Initializes a new instance of the CyrusBuilt.MonoPi.Devices.Fireplace.FireplaceStateChangedEventArgs class with the new and old states.
public FireplaceStateChangedEventArgs ( FireplaceState oldState, FireplaceState newState ) : System
oldState FireplaceState /// The previous (old) state of the fireplace. ///
newState FireplaceState /// The new (current) state of the fireplace. ///
return System