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); }
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); }
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); }