/// <summary> /// Called when the repeated task completes. /// </summary> protected override void OnEnd() { PointerScanResultsViewModel.GetInstance().DiscoveredPointers = this.ScannedPointers; this.LevelPointers = null; this.ScannedPointers = null; }
/// <summary> /// Called when the scheduled task starts. /// </summary> protected override void OnBegin() { this.ScannedPointers = new ScannedPointers(); if (this.LevelPointers == null || this.LevelPointers.Count <= 0) { this.Cancel(); } }