Esempio n. 1
0
 public Api(DeviceDescriptor device)
 {
     this.Device = device;
     this.notificationsManager = new NotificationManager(this.Device, this);
 }
 public ApiLibNotificationManager(DeviceDescriptor device, ApiLib lib, IEnumerable <NotificationSubscription> subscriptions)
 {
     this.Device        = device;
     this.Lib           = lib;
     this.subscriptions = new HashSet <NotificationSubscription>(subscriptions);
 }