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)); }