예제 #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();
        }
예제 #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();
        }