Ejemplo n.º 1
0
 public Subscription(IDeviceEventService deviceEventService)
 {
     this.deviceEventService = deviceEventService;
     Name = "Subscription";
     this.RegisterDeviceSubscription();
 }
Ejemplo n.º 2
0
 public DeviceService(IDeviceEventService deviceEventService)
 {
     this.deviceEventService = deviceEventService;
     DeviceService.DataStore = new Dictionary <string, Device>();
     this.LoadData();
 }
 /// <summary>
 /// Конструктор.
 /// </summary>
 /// <param name="deviceEventService">Сервис событий.</param>
 public DevicesEventsController(IDeviceEventService deviceEventService)
 {
     this.deviceEventService = deviceEventService;
 }