12 instantiations of PackageIdentity
Microsoft.DotNet.Build.Tasks.Feed.Tests (10)
PushToBuildStorageTests.cs (10)
279nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_A)).Returns(new NupkgInfo(new PackageIdentity( 283nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_B)).Returns(new NupkgInfo(new PackageIdentity( 328nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_A)).Returns(new NupkgInfo(new PackageIdentity( 332nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_B)).Returns(new NupkgInfo(new PackageIdentity( 375nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_A)).Returns(new NupkgInfo(new PackageIdentity( 379nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_B)).Returns(new NupkgInfo(new PackageIdentity( 425nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_A)).Returns(new NupkgInfo(new PackageIdentity( 429nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_B)).Returns(new NupkgInfo(new PackageIdentity( 529nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_A)).Returns(new NupkgInfo(new PackageIdentity( 533nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_B)).Returns(new NupkgInfo(new PackageIdentity(
Microsoft.DotNet.VersionTools (1)
Automation\NupkgInfoFactory.cs (1)
60return 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)
10public NupkgInfo(PackageIdentity identity)
Automation\NupkgInfoFactory.cs (2)
43PackageIdentity identity = GetIdentity(nuspecFileStream); 56private static PackageIdentity GetIdentity(Stream nuspecFileStream)