コード例 #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
ファイル: BackgroundTask.cs プロジェクト: wolfet/shiny
 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>();
 }