7 instantiations of ToolManifestFinder
dotnet (7)
CommandFactory\CommandResolution\LocalToolsCommandResolver.cs (1)
19private 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)
29new ToolManifestFinder(new DirectoryPath(Directory.GetCurrentDirectory()));
Commands\Tool\Restore\ToolRestoreCommand.cs (1)
57?? new ToolManifestFinder(new DirectoryPath(Directory.GetCurrentDirectory()));
Commands\Tool\Uninstall\ToolUninstallLocalCommand.cs (1)
37new 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)
14ToolManifestFinder? toolManifest = null, 19private readonly ToolManifestFinder _toolManifest = toolManifest ?? new ToolManifestFinder(new DirectoryPath(currentWorkingDirectory ?? Directory.GetCurrentDirectory()));
Commands\Tool\Execute\ToolExecuteCommand.cs (2)
35private readonly ToolManifestFinder _toolManifestFinder; 37public ToolExecuteCommand(ParseResult result, ToolManifestFinder? toolManifestFinder = null, string? currentWorkingDirectory = null)
Commands\Tool\Run\ToolRunCommand.cs (1)
20public ToolRunCommand(ParseResult result, LocalToolsCommandResolver? localToolsCommandResolver = null, ToolManifestFinder? toolManifest = null)