C# Class HA4IoT.Actuators.Connectors.BinaryStateActuatorWithButtonConnector

Show file Open project: chkr1011/CK.HomeAutomation

Public Methods

Method Description
ConnectToggleActionWith ( this button, IStateMachine actuator, ButtonPressedDuration pressedDuration = ButtonPressedDuration.Short ) : IButton
ConnectToggleActionWith ( this actuator, IButton button, ButtonPressedDuration pressedDuration = ButtonPressedDuration.Short ) : IStateMachine

Private Methods

Method Description
ConnectToggleAction ( IButton button, IStateMachine actuator, ButtonPressedDuration pressedDuration ) : void

Method Details

ConnectToggleActionWith() public static method

public static ConnectToggleActionWith ( this button, IStateMachine actuator, ButtonPressedDuration pressedDuration = ButtonPressedDuration.Short ) : IButton
button this
actuator IStateMachine
pressedDuration ButtonPressedDuration
return IButton

ConnectToggleActionWith() public static method

public static ConnectToggleActionWith ( this actuator, IButton button, ButtonPressedDuration pressedDuration = ButtonPressedDuration.Short ) : IStateMachine
actuator this
button IButton
pressedDuration ButtonPressedDuration
return IStateMachine