11 instantiations of NupkgInfo
Microsoft.DotNet.Build.Tasks.Feed.Tests (10)
PushToAzureDevOpsArtifactsTests.cs (10)
280
nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_A)).Returns(new
NupkgInfo
(new PackageIdentity(
284
nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_B)).Returns(new
NupkgInfo
(new PackageIdentity(
329
nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_A)).Returns(new
NupkgInfo
(new PackageIdentity(
333
nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_B)).Returns(new
NupkgInfo
(new PackageIdentity(
376
nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_A)).Returns(new
NupkgInfo
(new PackageIdentity(
380
nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_B)).Returns(new
NupkgInfo
(new PackageIdentity(
426
nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_A)).Returns(new
NupkgInfo
(new PackageIdentity(
430
nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_B)).Returns(new
NupkgInfo
(new PackageIdentity(
530
nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_A)).Returns(new
NupkgInfo
(new PackageIdentity(
534
nupkgInfoFactoryMock.Setup(m => m.CreateNupkgInfo(PACKAGE_B)).Returns(new
NupkgInfo
(new PackageIdentity(
Microsoft.DotNet.VersionTools (1)
src\Automation\NupkgInfoFactory.cs (1)
28
return new
NupkgInfo
(identity);
10 references to NupkgInfo
Microsoft.DotNet.Build.Tasks.Feed (2)
src\ExecWithRetriesForNuGetPush.cs (1)
190
var
packageInfo = _nupkgInfoFactory.CreateNupkgInfo(PackageFile);
src\PackageArtifactModelFactory.cs (1)
32
NupkgInfo
info = _nupkgInfoFactory.CreateNupkgInfo(item.ItemSpec);
Microsoft.DotNet.VersionTools (8)
src\Automation\GitHubVersionsRepoUpdater.cs (1)
68
NupkgInfo
[] packages = CreatePackageInfos(packagePaths).ToArray();
src\Automation\LocalVersionsRepoUpdater.cs (1)
47
NupkgInfo
[] packages = CreatePackageInfos(packagePaths).ToArray();
src\Automation\NupkgInfoFactory.cs (2)
11
NupkgInfo
CreateNupkgInfo(string path);
23
public
NupkgInfo
CreateNupkgInfo(string path)
src\Automation\VersionsRepoUpdater.cs (4)
23
protected IEnumerable<
NupkgInfo
> CreatePackageInfos(IEnumerable<string> packagePaths)
27
.Where(path => !
NupkgInfo
.IsSymbolPackagePath(path))
31
protected static Dictionary<string, string> CreatePackageInfoDictionary(IEnumerable<
NupkgInfo
> infos)
93
protected static string GetPrereleaseVersion(
NupkgInfo
[] packages)