C# Class Alarm.ExtentionMethods

Afficher le fichier Open project: Silveryard/SmartHome

Méthodes publiques

Méthode Description
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

Method Details

AddAlarm() public static méthode

public static AddAlarm ( this client, Alarm alarm ) : Alarm
client this
alarm Alarm
Résultat Alarm

DeleteAlarm() public static méthode

public static DeleteAlarm ( this client, Alarm alarm ) : void
client this
alarm Alarm
Résultat void

GetAlarm() public static méthode

public static GetAlarm ( this client, int alarmId ) : Alarm
client this
alarmId int
Résultat Alarm

GetAlarms() public static méthode

public static GetAlarms ( this client ) : List
client this
Résultat List

IndexesOf() public static méthode

public static IndexesOf ( this haystack, string needle ) : IEnumerable
haystack this
needle string
Résultat IEnumerable

RegisterToAlarmService() public static méthode

public static RegisterToAlarmService ( this client, string function ) : void
client this
function string
Résultat void

RegisterToTimeService() public static méthode

public static RegisterToTimeService ( this client, string function ) : void
client this
function string
Résultat void

UpdateAlarm() public static méthode

public static UpdateAlarm ( this client, Alarm alarm ) : void
client this
alarm Alarm
Résultat void

UpdateAlarmEnabled() public static méthode

public static UpdateAlarmEnabled ( this client, Alarm alarm ) : void
client this
alarm Alarm
Résultat void

UpdateAlarmName() public static méthode

public static UpdateAlarmName ( this client, Alarm alarm ) : void
client this
alarm Alarm
Résultat void

UpdateAlarmTime() public static méthode

public static UpdateAlarmTime ( this client, Alarm alarm ) : void
client this
alarm Alarm
Résultat void

UpdateAlarmWeekdays() public static méthode

public static UpdateAlarmWeekdays ( this client, Alarm alarm ) : void
client this
alarm Alarm
Résultat void