2 instantiations of ToolCommand
dotnet (2)
ToolPackage\LocalToolsResolverCache.cs (1)
149new(
ToolPackage\ToolPackageInstance.cs (1)
118Command = new ToolCommand(
29 references to ToolCommand
dotnet (29)
CommandFactory\CommandResolution\LocalToolsCommandResolver.cs (1)
84out var toolCommand))
Commands\Tool\Execute\ToolExecuteCommand.cs (1)
93localToolsResolverCache.Save(new Dictionary<RestoredCommandIdentifier, ToolCommand>
Commands\Tool\Install\LocalToolsResolverCacheExtensions.cs (1)
36new Dictionary<RestoredCommandIdentifier, ToolCommand>
Commands\Tool\Restore\ToolPackageRestorer.cs (2)
113IReadOnlyList<ToolCommand> toolPackageCommands) 132out var toolCommand)
Commands\Tool\Restore\ToolRestoreCommand.cs (5)
117Dictionary<RestoredCommandIdentifier, ToolCommand> downloaded = 196private static void EnsureNoCommandNameCollision(Dictionary<RestoredCommandIdentifier, ToolCommand> dictionary) 219public (RestoredCommandIdentifier restoredCommandIdentifier, ToolCommand toolCommand)? SaveToCache { get; } 225(RestoredCommandIdentifier, ToolCommand)? saveToCache, 240(RestoredCommandIdentifier, ToolCommand)? saveToCache,
ShellShim\IShellShimRepository.cs (2)
14void CreateShim(ToolCommand toolCommand, IReadOnlyList<FilePath> packagedShims = null); 16void RemoveShim(ToolCommand toolCommand);
ShellShim\ShellShimRepository.cs (6)
24public void CreateShim(ToolCommand toolCommand, IReadOnlyList<FilePath> packagedShims = null) 116public void RemoveShim(ToolCommand toolCommand) 168private bool ShimExists(ToolCommand toolCommand) 173private IEnumerable<FilePath> GetShimFiles(ToolCommand toolCommand) 178private FilePath GetShimPath(ToolCommand toolCommand) 199ToolCommand toolCommand,
ToolPackage\ILocalToolsResolverCache.cs (2)
11IDictionary<RestoredCommandIdentifier, ToolCommand> restoredCommandMap); 15out ToolCommand toolCommand);
ToolPackage\IToolPackage.cs (1)
24ToolCommand Command { get; }
ToolPackage\LocalToolsResolverCache.cs (7)
33IDictionary<RestoredCommandIdentifier, ToolCommand> restoredCommandMap) 73out ToolCommand toolCommand) 120ToolCommand toolCommand) 135ToolCommand toolCommand) 148ToolCommand toolCommand = 160out ToolCommand toolCommandList) 162(RestoredCommandIdentifier restoredCommandIdentifier, ToolCommand toolCommand)[] matchingRow =
ToolPackage\ToolPackageInstance.cs (1)
32public ToolCommand Command { get; private set; }