17 references to CommandNames
dotnet (14)
Commands\Tool\Execute\ToolExecuteCommand.cs (1)
82
return ToolRunCommand.ExecuteCommand(localToolsCommandResolver, toolManifestPackage.
CommandNames
.Single().Value, _forwardArguments, _allowRollForward);
Commands\Tool\List\ToolListLocalCommand.cs (2)
83
p => string.Join(CommandDelimiter, p.toolManifestPackage.
CommandNames
.Select(c => c.Value)));
98
Commands = [.. p.toolManifestPackage.
CommandNames
.Select(c => c.Value)],
Commands\Tool\Restore\ToolPackageRestorer.cs (5)
58
package.Version.ToNormalizedString(), string.Join(", ", package.
CommandNames
)));
77
if (!ManifestCommandMatchesActualInPackage(package.
CommandNames
, [toolPackage.Command]))
81
JoinBySpaceWithQuote(package.
CommandNames
.Select(c => c.Value.ToString())),
99
string.Join(" ", package.
CommandNames
)));
124
package.
CommandNames
.First());
ToolManifest\ToolManifestEditor.cs (1)
49
&& CommandNamesEqual(existingPackage.
CommandNames
, toolCommandNames))
ToolManifest\ToolManifestFinder.cs (1)
116
if (package.
CommandNames
.Contains(toolCommandName))
ToolManifest\ToolManifestPackage.cs (4)
40
CommandNamesEqual(other.
CommandNames
) &&
48
if (
CommandNames
== null)
58
return
CommandNames
.SequenceEqual(otherCommandNames);
63
return HashCode.Combine(PackageId, Version,
CommandNames
, RollForward);
dotnet.Tests (3)
CommandTests\Tool\Install\ToolInstallLocalCommandTests.cs (2)
421
addedPackage.
CommandNames
.Single()),
566
addedPackage.
CommandNames
.Single()),
CommandTests\Tool\Update\ToolUpdateLocalCommandTests.cs (1)
421
updatedPackage.
CommandNames
.Single()),