C# 클래스 HA4IoT.Sensors.Buttons.ButtonExtensions

파일 보기 프로젝트 열기: chkr1011/CK.HomeAutomation

공개 메소드들

메소드 설명
GetButton ( this area, Enum id ) : IButton
WithPressedLongAction ( this button, System.Action action ) : IButton
WithPressedShortlyAction ( this button, System.Action action ) : IButton

메소드 상세

GetButton() 공개 정적인 메소드

public static GetButton ( this area, Enum id ) : IButton
area this
id System.Enum
리턴 IButton

WithPressedLongAction() 공개 정적인 메소드

public static WithPressedLongAction ( this button, System.Action action ) : IButton
button this
action System.Action
리턴 IButton

WithPressedShortlyAction() 공개 정적인 메소드

public static WithPressedShortlyAction ( this button, System.Action action ) : IButton
button this
action System.Action
리턴 IButton