13 instantiations of TargetFeedSpecification
Microsoft.DotNet.Build.Tasks.Feed (4)
src\model\TargetChannelConfig.cs (4)
174return new TargetFeedSpecification(tuple.types, tuple.feed, AssetSelection.All); 179return new TargetFeedSpecification(tuple.types, tuple.feed, tuple.assets); 184return new TargetFeedSpecification(ImmutableList.Create(tuple.type), tuple.feed, AssetSelection.All); 189return new TargetFeedSpecification(ImmutableList.Create(tuple.type), tuple.feed, tuple.assets);
Microsoft.DotNet.Build.Tasks.Feed.Tests (9)
GeneralTests.cs (3)
211new (new[] { TargetFeedContentType.Deb }, dummyFeedUrl, AssetSelection.ShippingOnly) 225new (new[] { TargetFeedContentType.Deb }, dummyFeedUrl, AssetSelection.ShippingOnly) 247new (new[] { TargetFeedContentType.Deb }, dummyFeedUrl, AssetSelection.ShippingOnly)
SetupTargetFeedConfigV3Tests.cs (3)
448Action shouldFail = () => new TargetFeedSpecification(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.All); 451Action shouldPassShippingOnly = () => new TargetFeedSpecification(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.ShippingOnly); 454Action shouldPassNonShippingOnly = () => new TargetFeedSpecification(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.NonShippingOnly);
SetupTargetFeedConfigV4Tests.cs (3)
400Action shouldFail = () => new TargetFeedSpecification(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.All); 403Action shouldPassShippingOnly = () => new TargetFeedSpecification(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.ShippingOnly); 406Action shouldPassNonShippingOnly = () => new TargetFeedSpecification(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.NonShippingOnly);
40 references to TargetFeedSpecification
Microsoft.DotNet.Build.Tasks.Feed (33)
src\model\PublishingConstants.cs (22)
146private static TargetFeedSpecification[] DotNet6Feeds = 154private static TargetFeedSpecification[] DotNet6InternalFeeds = 162private static TargetFeedSpecification[] DotNet8Feeds = 170private static TargetFeedSpecification[] DotNet8WorkloadFeeds = 178private static TargetFeedSpecification[] DotNet8InternalFeeds = 186private static TargetFeedSpecification[] DotNet9Feeds = 194private static TargetFeedSpecification[] DotNet9InternalFeeds = 202private static TargetFeedSpecification[] DotNet9WorkloadFeeds = 210private static TargetFeedSpecification[] DotNet10Feeds = 226private static TargetFeedSpecification[] DotNet10InternalFeeds = 234private static TargetFeedSpecification[] DotNet10WorkloadFeeds = 242private static TargetFeedSpecification[] DotNet11Feeds = 258private static TargetFeedSpecification[] DotNet11WorkloadFeeds = 266private static TargetFeedSpecification[] DotNetEngFeeds = 274private static TargetFeedSpecification[] DotNetToolsFeeds = 282private static TargetFeedSpecification[] DotNetToolsInternalFeeds = 290private static TargetFeedSpecification[] DotNetExperimentalFeeds = 298private static TargetFeedSpecification[] DotNetExperimentalInternalFeeds = 306private static TargetFeedSpecification[] DotNetLibrariesFeeds = 314private static TargetFeedSpecification[] DotNetLibrariesInternalFeeds = 322private static TargetFeedSpecification[] GeneralTestingFeeds = 330private static TargetFeedSpecification[] GeneralTestingInternalFeeds =
src\model\SetupTargetFeedConfigV3.cs (1)
140foreach (var spec in _targetChannelConfig.TargetFeeds)
src\model\SetupTargetFeedConfigV4.cs (1)
126foreach (var spec in _targetChannelConfig.TargetFeeds)
src\model\TargetChannelConfig.cs (9)
41public ImmutableList<TargetFeedSpecification> TargetFeeds { get; } 65IEnumerable<TargetFeedSpecification> targetFeeds, 155foreach (var feedSpec in TargetFeeds) 172public static implicit operator TargetFeedSpecification((TargetFeedContentType[] types, string feed) tuple) 177public static implicit operator TargetFeedSpecification((TargetFeedContentType[] types, string feed, AssetSelection assets) tuple) 182public static implicit operator TargetFeedSpecification((TargetFeedContentType type, string feed) tuple) 187public static implicit operator TargetFeedSpecification((TargetFeedContentType type, string feed, AssetSelection assets) tuple) 210return obj is TargetFeedSpecification other && Equals(other); 213public bool Equals(TargetFeedSpecification other) => ContentTypes.Count == other.ContentTypes.Count &&
Microsoft.DotNet.Build.Tasks.Feed.Tests (7)
GeneralTests.cs (4)
209targetFeeds: new TargetFeedSpecification[] 223targetFeeds: new TargetFeedSpecification[] 245targetFeeds: new TargetFeedSpecification[] 259targetFeeds: Enumerable.Empty<TargetFeedSpecification>(),
ProductionChannelValidatorTests.cs (2)
90targetFeeds: new TargetFeedSpecification[0], 105targetFeeds: new TargetFeedSpecification[0],
PublishArtifactsInManifestTests.cs (1)
208targetFeeds: new TargetFeedSpecification[0],