Esempio n. 1
0
 public Task <NotificationResult> WatchAsync(HCS_NOTIFICATIONS notificationType)
 {
     return(_n[notificationType].Task);
 }
Esempio n. 2
0
 public bool Wait(HCS_NOTIFICATIONS notificationType, int timeout = Timeout.Infinite)
 {
     return(WatchAsync(notificationType).Wait(timeout));
 }