C# 클래스 Alarm.ExtentionMethods

파일 보기 프로젝트 열기: Silveryard/SmartHome

공개 메소드들

메소드 설명
AddAlarm ( this client, Alarm alarm ) : Alarm
DeleteAlarm ( this client, Alarm alarm ) : void
GetAlarm ( this client, int alarmId ) : Alarm
GetAlarms ( this client ) : List
IndexesOf ( this haystack, string needle ) : IEnumerable
RegisterToAlarmService ( this client, string function ) : void
RegisterToTimeService ( this client, string function ) : void
UpdateAlarm ( this client, Alarm alarm ) : void
UpdateAlarmEnabled ( this client, Alarm alarm ) : void
UpdateAlarmName ( this client, Alarm alarm ) : void
UpdateAlarmTime ( this client, Alarm alarm ) : void
UpdateAlarmWeekdays ( this client, Alarm alarm ) : void

메소드 상세

AddAlarm() 공개 정적인 메소드

public static AddAlarm ( this client, Alarm alarm ) : Alarm
client this
alarm Alarm
리턴 Alarm

DeleteAlarm() 공개 정적인 메소드

public static DeleteAlarm ( this client, Alarm alarm ) : void
client this
alarm Alarm
리턴 void

GetAlarm() 공개 정적인 메소드

public static GetAlarm ( this client, int alarmId ) : Alarm
client this
alarmId int
리턴 Alarm

GetAlarms() 공개 정적인 메소드

public static GetAlarms ( this client ) : List
client this
리턴 List

IndexesOf() 공개 정적인 메소드

public static IndexesOf ( this haystack, string needle ) : IEnumerable
haystack this
needle string
리턴 IEnumerable

RegisterToAlarmService() 공개 정적인 메소드

public static RegisterToAlarmService ( this client, string function ) : void
client this
function string
리턴 void

RegisterToTimeService() 공개 정적인 메소드

public static RegisterToTimeService ( this client, string function ) : void
client this
function string
리턴 void

UpdateAlarm() 공개 정적인 메소드

public static UpdateAlarm ( this client, Alarm alarm ) : void
client this
alarm Alarm
리턴 void

UpdateAlarmEnabled() 공개 정적인 메소드

public static UpdateAlarmEnabled ( this client, Alarm alarm ) : void
client this
alarm Alarm
리턴 void

UpdateAlarmName() 공개 정적인 메소드

public static UpdateAlarmName ( this client, Alarm alarm ) : void
client this
alarm Alarm
리턴 void

UpdateAlarmTime() 공개 정적인 메소드

public static UpdateAlarmTime ( this client, Alarm alarm ) : void
client this
alarm Alarm
리턴 void

UpdateAlarmWeekdays() 공개 정적인 메소드

public static UpdateAlarmWeekdays ( this client, Alarm alarm ) : void
client this
alarm Alarm
리턴 void