Example #1
0
        public Inspector(IRubberduckParser parser, IGeneralConfigService configService)
        {
            _parser = parser;
            _parser.ParseStarted   += _parser_ParseStarted;
            _parser.ParseCompleted += _parser_ParseCompleted;

            _configService = configService;
            _inspections   = configService.GetImplementedCodeInspections();
            configService.SettingsChanged += ConfigServiceSettingsChanged;
            UpdateInspectionSeverity();
        }
Example #2
0
        public Inspector(IRubberduckParser parser, IGeneralConfigService configService)
        {
            _parser = parser;
            _parser.ParseStarted += _parser_ParseStarted;
            _parser.ParseCompleted += _parser_ParseCompleted;

            _configService = configService;
            _inspections = configService.GetImplementedCodeInspections();
            configService.SettingsChanged += ConfigServiceSettingsChanged;
            UpdateInspectionSeverity();
        }