12 instantiations of PackageArtifactModel
Microsoft.DotNet.Build.Tasks.Feed (1)
src\PackageArtifactModelFactory.cs (1)
34return new PackageArtifactModel
Microsoft.DotNet.VersionTools (1)
BuildManifest\Model\PackageArtifactModel.cs (1)
121public static PackageArtifactModel Parse(XElement xml) => new PackageArtifactModel
Microsoft.DotNet.VersionTools.Tests (10)
BuildManifest\ManifestModelTests.cs (10)
481PackageArtifactModel packageArtifact = new PackageArtifactModel 491PackageArtifactModel otherPackageArtifact = new PackageArtifactModel 507PackageArtifactModel packageArtifact = new PackageArtifactModel 517PackageArtifactModel otherPackageArtifact = new PackageArtifactModel 533PackageArtifactModel packageArtifact = new PackageArtifactModel 543PackageArtifactModel otherPackageArtifact = new PackageArtifactModel 559PackageArtifactModel packageArtifact = new PackageArtifactModel 667new PackageArtifactModel 686new PackageArtifactModel 691new PackageArtifactModel
38 references to PackageArtifactModel
Microsoft.DotNet.Build.Tasks.Feed (23)
src\BuildModelFactory.cs (4)
21IEnumerable<PackageArtifactModel> packageArtifacts, 100IEnumerable<PackageArtifactModel> packageArtifacts, 152var packageArtifacts = new List<PackageArtifactModel>(); 200IEnumerable<PackageArtifactModel> packageArtifacts,
src\PackageArtifactModelFactory.cs (2)
13PackageArtifactModel CreatePackageArtifactModel(ITaskItem item, string repoOrigin); 28public PackageArtifactModel CreatePackageArtifactModel(ITaskItem item, string repoOrigin)
src\PublishArtifactsInManifestBase.cs (13)
189private readonly Dictionary<TargetFeedContentType, HashSet<PackageArtifactModel>> PackagesByCategory = 190new Dictionary<TargetFeedContentType, HashSet<PackageArtifactModel>>(); 403HashSet<PackageArtifactModel> filteredPackages = FilterPackages(packages, feedConfig); 405foreach (var package in filteredPackages) 793HashSet<PackageArtifactModel> filteredPackages = FilterPackages(packages, feedConfig); 795foreach (var package in filteredPackages) 832private HashSet<PackageArtifactModel> FilterPackages(HashSet<PackageArtifactModel> packages, TargetFeedConfig feedConfig) 1079foreach (var packageAsset in buildModel.Artifacts.Packages) 1104PackagesByCategory[categoryKey] = new HashSet<PackageArtifactModel>() { packageAsset }; 1139HashSet<PackageArtifactModel> packagesToPublish, 1174HashSet<PackageArtifactModel> packagesToPublish, 1258HashSet<PackageArtifactModel> packagesToPublish,
src\PushToBuildStorage.cs (2)
140IEnumerable<PackageArtifactModel> packageArtifacts = Enumerable.Empty<PackageArtifactModel>();
src\SigningInformationModelFactory.cs (2)
23IEnumerable<PackageArtifactModel> packageArtifacts); 42IEnumerable<PackageArtifactModel> packageArtifacts)
Microsoft.DotNet.VersionTools (6)
BuildManifest\Model\ArtifactSet.cs (3)
13public List<PackageArtifactModel> Packages { get; set; } = new List<PackageArtifactModel>(); 34Packages = xml.Elements("Package").Select(PackageArtifactModel.Parse).ToList(),
BuildManifest\Model\PackageArtifactModel.cs (2)
68if (obj is PackageArtifactModel other) 121public static PackageArtifactModel Parse(XElement xml) => new PackageArtifactModel
Dependencies\BuildOutput\OrchestratedBuild\OrchestratedBuildUpdateHelpers.cs (1)
66PackageArtifactModel match = info.GetBlobFeed()?.Artifacts.Packages
Microsoft.DotNet.VersionTools.Tests (9)
BuildManifest\ManifestModelTests.cs (9)
481PackageArtifactModel packageArtifact = new PackageArtifactModel 491PackageArtifactModel otherPackageArtifact = new PackageArtifactModel 507PackageArtifactModel packageArtifact = new PackageArtifactModel 517PackageArtifactModel otherPackageArtifact = new PackageArtifactModel 533PackageArtifactModel packageArtifact = new PackageArtifactModel 543PackageArtifactModel otherPackageArtifact = new PackageArtifactModel 559PackageArtifactModel packageArtifact = new PackageArtifactModel 665Packages = new List<PackageArtifactModel> 684Packages = new List<PackageArtifactModel>