1 implementation of IPackageInstallerService
Microsoft.VisualStudio.LanguageServices (1)
Packaging\PackageInstallerServiceFactory.cs (1)
53internal partial class PackageInstallerService : AbstractDelayStartedService, IPackageInstallerService, IVsSearchProviderCallback
56 references to IPackageInstallerService
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (10)
AddUsing\AddUsingNuGetTests.cs (10)
29using FixProviderData = Tuple<IPackageInstallerService, ISymbolSearchService>; 58var installerServiceMock = new Mock<IPackageInstallerService>(MockBehavior.Strict); 91var installerServiceMock = new Mock<IPackageInstallerService>(MockBehavior.Strict); 122var installerServiceMock = new Mock<IPackageInstallerService>(MockBehavior.Strict); 153var installerServiceMock = new Mock<IPackageInstallerService>(MockBehavior.Strict); 184var installerServiceMock = new Mock<IPackageInstallerService>(MockBehavior.Strict); 207var installerServiceMock = new Mock<IPackageInstallerService>(MockBehavior.Strict); 252var installerServiceMock = new Mock<IPackageInstallerService>(MockBehavior.Strict); 284var installerServiceMock = new Mock<IPackageInstallerService>(MockBehavior.Strict); 317var installerServiceMock = new Mock<IPackageInstallerService>(MockBehavior.Strict);
Microsoft.CodeAnalysis.CSharp.Features (2)
AddImport\CSharpAddImportCodeFixProvider.cs (1)
199IPackageInstallerService installerService,
AddMissingReference\CSharpAddMissingReferenceCodeFixProvider.cs (1)
35IPackageInstallerService installerService,
Microsoft.CodeAnalysis.Features (30)
AddImport\AbstractAddImportCodeFixProvider.cs (4)
20private readonly IPackageInstallerService? _packageInstallerService; 27IPackageInstallerService? packageInstallerService = null, 64var installerService = searchOptions.SearchNuGetPackages ? 65_packageInstallerService ?? services.GetService<IPackageInstallerService>() : null;
AddImport\AbstractAddImportFeatureService.cs (2)
576IPackageInstallerService? installerService, int maxResults) 590private static CodeAction? TryCreateCodeAction(Document document, AddImportFixData fixData, IPackageInstallerService? installerService)
AddImport\CodeActions\InstallWithPackageManagerCodeAction.cs (4)
20private readonly IPackageInstallerService _installerService; 24IPackageInstallerService installerService, 41private readonly IPackageInstallerService _installerService; 45IPackageInstallerService installerService,
AddImport\CodeActions\ParentInstallPackageCodeAction.cs (3)
41IPackageInstallerService installerService) 53IPackageInstallerService installerService) 82IPackageInstallerService installerService,
AddImport\IAddImportFeatureService.cs (1)
50IPackageInstallerService? installerService, int maxResults);
AddMissingReference\AbstractAddMissingReferenceCodeFixProvider.cs (1)
27IPackageInstallerService? packageInstallerService = null,
AddPackage\AbstractAddPackageCodeFixProvider.cs (4)
23private readonly IPackageInstallerService _packageInstallerService; 30IPackageInstallerService packageInstallerService, 50var installerService = _packageInstallerService ?? workspaceServices.GetService<IPackageInstallerService>();
AddPackage\AbstractAddSpecificPackageCodeFixProvider.cs (1)
21IPackageInstallerService packageInstallerService = null,
AddPackage\InstallPackageDirectlyCodeAction.cs (1)
23IPackageInstallerService installerService,
AddPackage\InstallPackageDirectlyCodeActionOperation.cs (2)
26private readonly IPackageInstallerService _installerService; 35IPackageInstallerService installerService,
AddPackage\InstallPackageParentCodeAction.cs (3)
36IPackageInstallerService installerService, 48IPackageInstallerService installerService, 74IPackageInstallerService installerService,
AddPackage\InstallWithPackageManagerCodeAction.cs (2)
18private readonly IPackageInstallerService _installerService; 22IPackageInstallerService installerService, string packageName)
CodeRefactorings\AddMissingImports\AbstractAddMissingImportsFeatureService.cs (2)
95var packageInstallerService = solution.Services.GetService<IPackageInstallerService>();
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (8)
Diagnostics\AddImport\AddImportTests_NuGet.vb (8)
18Imports ProviderData = System.Tuple(Of Microsoft.CodeAnalysis.Packaging.IPackageInstallerService, Microsoft.CodeAnalysis.SymbolSearch.ISymbolSearchService) 50Dim installerServiceMock = New Mock(Of IPackageInstallerService)(MockBehavior.Strict) 79Dim installerServiceMock = New Mock(Of IPackageInstallerService)(MockBehavior.Strict) 108Dim installerServiceMock = New Mock(Of IPackageInstallerService)(MockBehavior.Strict) 135Dim installerServiceMock = New Mock(Of IPackageInstallerService)(MockBehavior.Strict) 157Dim installerServiceMock = New Mock(Of IPackageInstallerService)(MockBehavior.Strict) 200Dim installerServiceMock = New Mock(Of IPackageInstallerService)(MockBehavior.Strict) 230Dim installerServiceMock = New Mock(Of IPackageInstallerService)(MockBehavior.Strict)
Microsoft.CodeAnalysis.VisualBasic.Features (1)
AddImport\VisualBasicAddImportCodeFixProvider.vb (1)
117Friend Sub New(installerService As IPackageInstallerService,
Microsoft.VisualStudio.LanguageServices (5)
LanguageService\AbstractPackage`2.cs (1)
95_packageInstallerService = workspace.Services.GetService<IPackageInstallerService>() as PackageInstallerService;
Packaging\PackageInstallerServiceFactory.cs (2)
52[ExportWorkspaceService(typeof(IPackageInstallerService)), Shared] 199bool IPackageInstallerService.IsEnabled(ProjectId projectId)
SymbolSearch\VisualStudioSymbolSearchService.cs (2)
52private readonly IPackageInstallerService _installerService; 72_installerService = workspace.Services.GetService<IPackageInstallerService>();