1 implementation of CreateNupkgInfo
Microsoft.DotNet.VersionTools (1)
src\Automation\NupkgInfoFactory.cs (1)
23public NupkgInfo CreateNupkgInfo(string path)
16 references to CreateNupkgInfo
Microsoft.DotNet.Build.Tasks.Feed (1)
src\PackageArtifactModelFactory.cs (1)
32NupkgInfo info = _nupkgInfoFactory.CreateNupkgInfo(item.ItemSpec);
Microsoft.DotNet.Build.Tasks.Feed.Tests (10)
PushToAzureDevOpsArtifactsTests.cs (10)
280nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_A)).Returns(new NupkgInfo(new PackageIdentity( 284nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_B)).Returns(new NupkgInfo(new PackageIdentity( 329nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_A)).Returns(new NupkgInfo(new PackageIdentity( 333nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_B)).Returns(new NupkgInfo(new PackageIdentity( 376nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_A)).Returns(new NupkgInfo(new PackageIdentity( 380nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_B)).Returns(new NupkgInfo(new PackageIdentity( 426nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_A)).Returns(new NupkgInfo(new PackageIdentity( 430nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_B)).Returns(new NupkgInfo(new PackageIdentity( 530nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_A)).Returns(new NupkgInfo(new PackageIdentity( 534nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_B)).Returns(new NupkgInfo(new PackageIdentity(
Microsoft.DotNet.VersionTools (1)
src\Automation\VersionsRepoUpdater.cs (1)
28.Select(path => _nupkgInfoFactory.CreateNupkgInfo(path));
Microsoft.DotNet.VersionTools.Cli (1)
VersionTrimmingOperation.cs (1)
57info = _context.NupkgInfoFactory.CreateNupkgInfo(assetFileName);
Microsoft.DotNet.VersionTools.Cli.Tests (3)
VersionTrimmingOperationTests.cs (3)
24nupkgInfoFactory.Setup(m => m.CreateNupkgInfo(It.IsAny<string>())) 96nupkgInfoFactory.Setup(m => m.CreateNupkgInfo(It.IsAny<string>())).Throws(new InvalidDataException()).Verifiable(); 123nupkgInfoFactory.Verify(v => v.CreateNupkgInfo(