Esempio n. 1
0
        internal OutOfProcProjectAnalyzer(Stream writer, Stream reader) {
            _analysisQueue = new AnalysisQueue(this);
            _analysisQueue.AnalysisComplete += AnalysisQueue_Complete;
            _options = new AP.OptionsChangedEvent() {
                indentation_inconsistency_severity = Severity.Ignore
            };

            _projectFiles = new ProjectEntryMap();
            _connection = new Connection(writer, reader, RequestHandler, AP.RegisteredTypes);
            _connection.EventReceived += ConectionReceivedEvent;

            _catalog = new AggregateCatalog();
            _container = new CompositionContainer(_catalog);
            _container.ExportsChanged += ContainerExportsChanged;
        }
Esempio n. 2
0
 private void SetOptions(AP.OptionsChangedEvent options) {
     if (_pyAnalyzer != null) {
         _pyAnalyzer.Limits.CrossModule = options.crossModuleAnalysisLimit;
     }
     _options = options;
 }