示例#1
0
        protected AbstractGraphProvider(
            IGlyphService glyphService,
            SVsServiceProvider serviceProvider,
            CodeAnalysis.Workspace workspace,
            IAsynchronousOperationListenerProvider listenerProvider)
        {
            _glyphService    = glyphService;
            _serviceProvider = serviceProvider;
            var asyncListener = listenerProvider.GetListener(FeatureAttribute.GraphProvider);

            _graphQueryManager = new GraphQueryManager(workspace, asyncListener);
        }
示例#2
0
        protected AbstractGraphProvider(
            IGlyphService glyphService,
            SVsServiceProvider serviceProvider,
            Workspace workspace,
            IEnumerable <Lazy <IAsynchronousOperationListener, FeatureMetadata> > asyncListeners)
        {
            _glyphService    = glyphService;
            _serviceProvider = serviceProvider;
            var asyncListener = new AggregateAsynchronousOperationListener(asyncListeners, FeatureAttribute.GraphProvider);

            _graphQueryManager = new GraphQueryManager(workspace, asyncListener);
        }
示例#3
0
 protected AbstractGraphProvider(
     IThreadingContext threadingContext,
     IGlyphService glyphService,
     SVsServiceProvider serviceProvider,
     Workspace workspace,
     IAsynchronousOperationListenerProvider listenerProvider)
 {
     _threadingContext  = threadingContext;
     _glyphService      = glyphService;
     _serviceProvider   = serviceProvider;
     _asyncListener     = listenerProvider.GetListener(FeatureAttribute.GraphProvider);
     _workspace         = workspace;
     _graphQueryManager = new GraphQueryManager(workspace, _asyncListener);
 }