public FileTransferingViewer() { InitializeComponent(); this.agileCycleEngine = new AgileCycleEngine(this); this.agileCycleEngine.DetectSpanInSecs = 1; this.agileCycleEngine.Start(); this.FileResumedTransStarted += delegate { }; this.FileTransCompleted += delegate { }; this.FileTransDisruptted += delegate { }; this.FileTransStarted += delegate { }; this.AllTaskFinished += delegate { }; }
public void Initialize() { if (this.refreshSpanInSecs <= 0) { throw new Exception("RefreshSpanInSecs Property must be greater than 0 !"); } foreach (IRefreshableCache cache in this.cacheList) { cache.LastRefreshTime = DateTime.Now; } this.agileCycleEngine = new AgileCycleEngine(this); this.agileCycleEngine.DetectSpanInSecs = 1; this.agileCycleEngine.Start(); }
public DynamicGroupHandler() { this.notifyEngine = new AgileCycleEngine(this); this.notifyEngine.DetectSpanInSecs = 0; }