C# Class HA4IoT.Sensors.Buttons.ButtonExtensions

Afficher le fichier Open project: chkr1011/CK.HomeAutomation

Méthodes publiques

Méthode Description
GetButton ( this area, Enum id ) : IButton
WithPressedLongAction ( this button, System.Action action ) : IButton
WithPressedShortlyAction ( this button, System.Action action ) : IButton

Method Details

GetButton() public static méthode

public static GetButton ( this area, Enum id ) : IButton
area this
id System.Enum
Résultat IButton

WithPressedLongAction() public static méthode

public static WithPressedLongAction ( this button, System.Action action ) : IButton
button this
action System.Action
Résultat IButton

WithPressedShortlyAction() public static méthode

public static WithPressedShortlyAction ( this button, System.Action action ) : IButton
button this
action System.Action
Résultat IButton