コード例 #1
0
ファイル: Inspector.cs プロジェクト: yadimon/Rubberduck
        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
ファイル: Inspector.cs プロジェクト: ThunderFrame/Rubberduck
        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();
        }