Method | Description | |
---|---|---|
IsState ( SwitchState state ) : System.Boolean |
Determines whether the state of this instance is the specified state.
|
Method | Description | |
---|---|---|
OnSwitchStateChanged ( |
Raises the switch state changed event.
|
|
SwitchBase ( ) : System |
Initializes a new instance of the CyrusBuilt.MonoPi.Components.Switches.SwitchBase class. This is the default constructor.
|
public IsState ( SwitchState state ) : System.Boolean | ||
state | SwitchState | /// The state to compare to. /// |
return | System.Boolean |
protected OnSwitchStateChanged ( |
||
e | /// The event arguments. /// | |
return | void |