12 instantiations of PackageIdentity
Microsoft.DotNet.Build.Tasks.Feed.Tests (10)
PushToBuildStorageTests.cs (10)
279
nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_A)).Returns(new NupkgInfo(new
PackageIdentity
(
283
nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_B)).Returns(new NupkgInfo(new
PackageIdentity
(
328
nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_A)).Returns(new NupkgInfo(new
PackageIdentity
(
332
nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_B)).Returns(new NupkgInfo(new
PackageIdentity
(
375
nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_A)).Returns(new NupkgInfo(new
PackageIdentity
(
379
nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_B)).Returns(new NupkgInfo(new
PackageIdentity
(
425
nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_A)).Returns(new NupkgInfo(new
PackageIdentity
(
429
nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_B)).Returns(new NupkgInfo(new
PackageIdentity
(
529
nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_A)).Returns(new NupkgInfo(new
PackageIdentity
(
533
nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_B)).Returns(new NupkgInfo(new
PackageIdentity
(
Microsoft.DotNet.VersionTools (1)
Automation\NupkgInfoFactory.cs (1)
60
return new
PackageIdentity
(GetSingleElement(metadataElement, "id").Value, GetSingleElement(metadataElement, "version").Value);
Microsoft.DotNet.VersionTools.Cli.Tests (1)
VersionTrimmingOperationTests.cs (1)
24
.Returns(new NupkgInfo(new
PackageIdentity
("id", "8.0.0-dev")));
3 references to PackageIdentity
Microsoft.DotNet.VersionTools (3)
Automation\NupkgInfo.cs (1)
10
public NupkgInfo(
PackageIdentity
identity)
Automation\NupkgInfoFactory.cs (2)
43
PackageIdentity
identity = GetIdentity(nuspecFileStream);
56
private static
PackageIdentity
GetIdentity(Stream nuspecFileStream)