Пример #1
0
 public BackgroundTask(ICentralManager centralManager,
                       IBeaconManager beaconManager,
                       IMessageBus messageBus,
                       IBeaconDelegate beaconDelegate)
 {
     this.centralManager = centralManager;
     this.beaconManager  = beaconManager;
     this.messageBus     = messageBus;
     this.beaconDelegate = beaconDelegate;
     this.states         = new Dictionary <string, BeaconRegionStatus>();
 }
Пример #2
0
 public BackgroundTask(ICentralManager centralManager,
                       IBeaconManager beaconManager,
                       IRepository repository,
                       IBeaconDelegate beaconDelegate)
 {
     this.centralManager = centralManager;
     this.beaconManager  = beaconManager;
     this.repository     = repository;
     this.beaconDelegate = beaconDelegate;
     this.states         = new Dictionary <string, BeaconRegionStatus>();
 }
Пример #3
0
 public BeaconLocationManagerDelegate()
 {
     this.bdelegate    = ShinyHost.Resolve <IBeaconDelegate>();
     this.rangeSubject = new Subject <Beacon>();
 }