コード例 #1
0
        private void RegisterRefreshGuidanceStates()
        {
            var conditionsEvaluator = new GuidanceConditionsEvaluator(this.GuidanceManager);

            this.idleTaskHost = new VsIdleTaskHost(this, conditionsEvaluator.EvaluateGraphs, TimeSpan.FromSeconds(GuidanceEvalTimeGovernor));
            this.idleTaskHost.Start(TimeSpan.FromMilliseconds(IdleTimeout));
        }
コード例 #2
0
 private void RegisterRefreshGuidanceStates()
 {
     var conditionsEvaluator = new GuidanceConditionsEvaluator(this.GuidanceManager);
     this.idleTaskHost = new VsIdleTaskHost(this, conditionsEvaluator.EvaluateGraphs, TimeSpan.FromSeconds(GuidanceEvalTimeGovernor));
     this.idleTaskHost.Start(TimeSpan.FromMilliseconds(IdleTimeout));
 }