Skip to content

Commit

Permalink
Merge pull request #31411 from jasonmalinowski/remove-asyncservicepro…
Browse files Browse the repository at this point in the history
…vider-todo

Properly import the IAsyncServiceProvider
  • Loading branch information
jasonmalinowski committed Dec 5, 2018
2 parents 65cdbba + c89535f commit 5e0c1c5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/VisualStudio/Core/Impl/RoslynVisualStudioWorkspace.cs
Expand Up @@ -36,8 +36,9 @@ internal class RoslynVisualStudioWorkspace : VisualStudioWorkspaceImpl
ExportProvider exportProvider,
[ImportMany] IEnumerable<Lazy<IStreamingFindUsagesPresenter>> streamingPresenters,
[ImportMany] IEnumerable<IDocumentOptionsProviderFactory> documentOptionsProviderFactories,
Lazy<ProjectCodeModelFactory> projectCodeModelFactory)
: base(exportProvider, AsyncServiceProvider.GlobalProvider) // TODO: switch to the cleaner MEF import
Lazy<ProjectCodeModelFactory> projectCodeModelFactory,
[Import(typeof(SVsServiceProvider))] IAsyncServiceProvider asyncServiceProvider)
: base(exportProvider, asyncServiceProvider)
{
_streamingPresenters = streamingPresenters;
_projectCodeModelFactory = projectCodeModelFactory;
Expand Down

0 comments on commit 5e0c1c5

Please sign in to comment.