Exemplo n.º 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));
        }
 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));
 }