13 instantiations of TargetFeedSpecification
Microsoft.DotNet.Build.Tasks.Feed (4)
src\model\TargetChannelConfig.cs (4)
163return new TargetFeedSpecification(tuple.types, tuple.feed, AssetSelection.All); 168return new TargetFeedSpecification(tuple.types, tuple.feed, tuple.assets); 173return new TargetFeedSpecification(ImmutableList.Create(tuple.type), tuple.feed, AssetSelection.All); 178return 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)
451Action shouldFail = () => new TargetFeedSpecification(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.All); 454Action shouldPassShippingOnly = () => new TargetFeedSpecification(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.ShippingOnly); 457Action shouldPassNonShippingOnly = () => new TargetFeedSpecification(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.NonShippingOnly);
SetupTargetFeedConfigV4Tests.cs (3)
403Action shouldFail = () => new TargetFeedSpecification(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.All); 406Action shouldPassShippingOnly = () => new TargetFeedSpecification(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.ShippingOnly); 409Action shouldPassNonShippingOnly = () => new TargetFeedSpecification(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.NonShippingOnly);
37 references to TargetFeedSpecification
Microsoft.DotNet.Build.Tasks.Feed (33)
src\model\PublishingConstants.cs (22)
136private static TargetFeedSpecification[] DotNet6Feeds = 144private static TargetFeedSpecification[] DotNet6InternalFeeds = 152private static TargetFeedSpecification[] DotNet7Feeds = 160private static TargetFeedSpecification[] DotNet7InternalFeeds = 168private static TargetFeedSpecification[] DotNet8Feeds = 176private static TargetFeedSpecification[] DotNet8WorkloadFeeds = 184private static TargetFeedSpecification[] DotNet8InternalFeeds = 192private static TargetFeedSpecification[] DotNet9Feeds = 200private static TargetFeedSpecification[] DotNet9InternalFeeds = 208private static TargetFeedSpecification[] DotNet9WorkloadFeeds = 216private static TargetFeedSpecification[] DotNet10Feeds = 232private static TargetFeedSpecification[] DotNet10InternalFeeds = 240private static TargetFeedSpecification[] DotNet10WorkloadFeeds = 248private static TargetFeedSpecification[] DotNetEngFeeds = 256private static TargetFeedSpecification[] DotNetToolsFeeds = 264private static TargetFeedSpecification[] DotNetToolsInternalFeeds = 272private static TargetFeedSpecification[] DotNetExperimentalFeeds = 280private static TargetFeedSpecification[] DotNetExperimentalInternalFeeds = 288private static TargetFeedSpecification[] DotNetLibrariesFeeds = 296private static TargetFeedSpecification[] DotNetLibrariesInternalFeeds = 304private static TargetFeedSpecification[] GeneralTestingFeeds = 312private static TargetFeedSpecification[] GeneralTestingInternalFeeds =
src\model\SetupTargetFeedConfigV3.cs (1)
144foreach (var spec in _targetChannelConfig.TargetFeeds)
src\model\SetupTargetFeedConfigV4.cs (1)
130foreach (var spec in _targetChannelConfig.TargetFeeds)
src\model\TargetChannelConfig.cs (9)
41public ImmutableList<TargetFeedSpecification> TargetFeeds { get; } 59IEnumerable<TargetFeedSpecification> targetFeeds, 144foreach (var feedSpec in TargetFeeds) 161public static implicit operator TargetFeedSpecification((TargetFeedContentType[] types, string feed) tuple) 166public static implicit operator TargetFeedSpecification((TargetFeedContentType[] types, string feed, AssetSelection assets) tuple) 171public static implicit operator TargetFeedSpecification((TargetFeedContentType type, string feed) tuple) 176public static implicit operator TargetFeedSpecification((TargetFeedContentType type, string feed, AssetSelection assets) tuple) 199return obj is TargetFeedSpecification other && Equals(other); 202public bool Equals(TargetFeedSpecification other) => ContentTypes.Count == other.ContentTypes.Count &&
Microsoft.DotNet.Build.Tasks.Feed.Tests (4)
GeneralTests.cs (4)
209targetFeeds: new TargetFeedSpecification[] 223targetFeeds: new TargetFeedSpecification[] 245targetFeeds: new TargetFeedSpecification[] 259targetFeeds: Enumerable.Empty<TargetFeedSpecification>(),