private void LoadAnalyzerNodeComponents() { this.ComponentModel.GetService<IAnalyzerNodeSetup>().Initialize(this); _ruleSetEventHandler = this.ComponentModel.GetService<RuleSetEventHandler>(); if (_ruleSetEventHandler != null) { _ruleSetEventHandler.Register(); } }
private void LoadAnalyzerNodeComponents() { _analyzerTracker = this.ComponentModel.GetService<AnalyzerItemsTracker>(); if (_analyzerTracker != null) { _analyzerTracker.Register(); } var analyzerCommandHandler = this.ComponentModel.GetService<AnalyzersCommandHandler>(); if (analyzerCommandHandler != null) { analyzerCommandHandler.Initialize((IMenuCommandService)this.GetService(typeof(IMenuCommandService))); } _ruleSetEventHandler = this.ComponentModel.GetService<RuleSetEventHandler>(); if (_ruleSetEventHandler != null) { _ruleSetEventHandler.Register(); } }