7 instantiations of ToolManifestFinder
dotnet (7)
CommandFactory\CommandResolution\LocalToolsCommandResolver.cs (1)
19
private readonly ToolManifestFinder _toolManifest = toolManifest ?? new
ToolManifestFinder
(new DirectoryPath(currentWorkingDirectory ?? Directory.GetCurrentDirectory()));
Commands\Tool\Execute\ToolExecuteCommand.cs (1)
48
_toolManifestFinder = toolManifestFinder ?? new
ToolManifestFinder
(new DirectoryPath(currentWorkingDirectory ?? Directory.GetCurrentDirectory()));
Commands\Tool\Install\ToolInstallLocalCommand.cs (1)
62
_toolManifestFinder = toolManifestFinder ?? new
ToolManifestFinder
(new DirectoryPath(Directory.GetCurrentDirectory()));
Commands\Tool\List\ToolListLocalCommand.cs (1)
29
new
ToolManifestFinder
(new DirectoryPath(Directory.GetCurrentDirectory()));
Commands\Tool\Restore\ToolRestoreCommand.cs (1)
57
?? new
ToolManifestFinder
(new DirectoryPath(Directory.GetCurrentDirectory()));
Commands\Tool\Uninstall\ToolUninstallLocalCommand.cs (1)
37
new
ToolManifestFinder
(new DirectoryPath(Directory.GetCurrentDirectory()));
Commands\Tool\Update\ToolUpdateLocalCommand.cs (1)
37
_toolManifestFinder = toolManifestFinder ?? new
ToolManifestFinder
(new DirectoryPath(Directory.GetCurrentDirectory()));
5 references to ToolManifestFinder
dotnet (5)
CommandFactory\CommandResolution\LocalToolsCommandResolver.cs (2)
14
ToolManifestFinder
? toolManifest = null,
19
private readonly
ToolManifestFinder
_toolManifest = toolManifest ?? new ToolManifestFinder(new DirectoryPath(currentWorkingDirectory ?? Directory.GetCurrentDirectory()));
Commands\Tool\Execute\ToolExecuteCommand.cs (2)
35
private readonly
ToolManifestFinder
_toolManifestFinder;
37
public ToolExecuteCommand(ParseResult result,
ToolManifestFinder
? toolManifestFinder = null, string? currentWorkingDirectory = null)
Commands\Tool\Run\ToolRunCommand.cs (1)
20
public ToolRunCommand(ParseResult result, LocalToolsCommandResolver? localToolsCommandResolver = null,
ToolManifestFinder
? toolManifest = null)