28 references to IPackageInstallerService
Microsoft.CodeAnalysis.CSharp.Features (1)
AddImport\CSharpAddImportCodeFixProvider.cs (1)
205
IPackageInstallerService
installerService,
Microsoft.CodeAnalysis.Features (27)
AddImport\AbstractAddImportCodeFixProvider.cs (4)
18
private readonly
IPackageInstallerService
? _packageInstallerService;
25
IPackageInstallerService
? packageInstallerService = null,
63
var
installerService = searchOptions.SearchNuGetPackages ?
64
_packageInstallerService ?? services.GetService<
IPackageInstallerService
>() : null;
AddImport\AbstractAddImportFeatureService.cs (2)
581
IPackageInstallerService
? installerService, int maxResults)
595
private static CodeAction? TryCreateCodeAction(Document document, AddImportFixData fixData,
IPackageInstallerService
? installerService)
AddImport\CodeActions\InstallWithPackageManagerCodeAction.cs (4)
17
IPackageInstallerService
installerService,
20
private readonly
IPackageInstallerService
_installerService = installerService;
33
IPackageInstallerService
installerService,
36
private readonly
IPackageInstallerService
_installerService = installerService;
AddImport\IAddImportFeatureService.cs (1)
42
IPackageInstallerService
? installerService, int maxResults);
AddPackage\AbstractAddPackageCodeFixProvider.cs (1)
38
workspaceServices.GetService<
IPackageInstallerService
>() is not { } installerService ||
AddPackage\InstallPackageDirectlyCodeAction.cs (1)
15
IPackageInstallerService
installerService,
AddPackage\InstallPackageDirectlyCodeActionOperation.cs (2)
23
private readonly
IPackageInstallerService
_installerService;
32
IPackageInstallerService
installerService,
AddPackage\InstallPackageParentCodeAction.cs (3)
26
IPackageInstallerService
installerService,
41
IPackageInstallerService
installerService,
65
IPackageInstallerService
installerService,
AddPackage\InstallWithPackageManagerCodeAction.cs (2)
15
IPackageInstallerService
installerService, string packageName) : CodeAction
17
private readonly
IPackageInstallerService
_installerService = installerService;
AddPackage\ParentInstallPackageCodeAction.cs (5)
58
IPackageInstallerService
installerService)
69
IPackageInstallerService
? installerService)
71
installerService ??= document.Project.Solution.Services.GetService<
IPackageInstallerService
>();
81
IPackageInstallerService
installerService)
110
IPackageInstallerService
installerService,
CodeRefactorings\AddMissingImports\AbstractAddMissingImportsFeatureService.cs (2)
80
var
packageInstallerService = solution.Services.GetService<
IPackageInstallerService
>();