13 instantiations of TargetFeedSpecification
Microsoft.DotNet.Build.Tasks.Feed (4)
src\model\TargetChannelConfig.cs (4)
164return new TargetFeedSpecification(tuple.types, tuple.feed, AssetSelection.All); 169return new TargetFeedSpecification(tuple.types, tuple.feed, tuple.assets); 174return new TargetFeedSpecification(ImmutableList.Create(tuple.type), tuple.feed, AssetSelection.All); 179return 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)
457Action shouldFail = () => new TargetFeedSpecification(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.All); 460Action shouldPassShippingOnly = () => new TargetFeedSpecification(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.ShippingOnly); 463Action shouldPassNonShippingOnly = () => new TargetFeedSpecification(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.NonShippingOnly);
SetupTargetFeedConfigV4Tests.cs (3)
457Action shouldFail = () => new TargetFeedSpecification(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.All); 460Action shouldPassShippingOnly = () => new TargetFeedSpecification(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.ShippingOnly); 463Action 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)
128private static TargetFeedSpecification[] DotNet6Feeds = 136private static TargetFeedSpecification[] DotNet6InternalFeeds = 144private static TargetFeedSpecification[] DotNet7Feeds = 152private static TargetFeedSpecification[] DotNet7InternalFeeds = 160private static TargetFeedSpecification[] DotNet8Feeds = 168private static TargetFeedSpecification[] DotNet8WorkloadFeeds = 176private static TargetFeedSpecification[] DotNet8InternalFeeds = 184private static TargetFeedSpecification[] DotNet9Feeds = 192private static TargetFeedSpecification[] DotNet9InternalFeeds = 200private static TargetFeedSpecification[] DotNet9WorkloadFeeds = 208private static TargetFeedSpecification[] DotNet10Feeds = 216private static TargetFeedSpecification[] DotNet10InternalFeeds = 224private static TargetFeedSpecification[] DotNet10WorkloadFeeds = 232private static TargetFeedSpecification[] DotNetEngFeeds = 240private static TargetFeedSpecification[] DotNetToolsFeeds = 248private static TargetFeedSpecification[] DotNetToolsInternalFeeds = 256private static TargetFeedSpecification[] DotNetExperimentalFeeds = 264private static TargetFeedSpecification[] DotNetExperimentalInternalFeeds = 272private static TargetFeedSpecification[] DotNetLibrariesFeeds = 280private static TargetFeedSpecification[] DotNetLibrariesInternalFeeds = 288private static TargetFeedSpecification[] GeneralTestingFeeds = 296private static TargetFeedSpecification[] GeneralTestingInternalFeeds =
src\model\SetupTargetFeedConfigV3.cs (1)
125foreach (var spec in _targetChannelConfig.TargetFeeds)
src\model\SetupTargetFeedConfigV4.cs (1)
126foreach (var spec in _targetChannelConfig.TargetFeeds)
src\model\TargetChannelConfig.cs (9)
42public ImmutableList<TargetFeedSpecification> TargetFeeds { get; } 60IEnumerable<TargetFeedSpecification> targetFeeds, 145foreach (var feedSpec in TargetFeeds) 162public static implicit operator TargetFeedSpecification((TargetFeedContentType[] types, string feed) tuple) 167public static implicit operator TargetFeedSpecification((TargetFeedContentType[] types, string feed, AssetSelection assets) tuple) 172public static implicit operator TargetFeedSpecification((TargetFeedContentType type, string feed) tuple) 177public static implicit operator TargetFeedSpecification((TargetFeedContentType type, string feed, AssetSelection assets) tuple) 200return obj is TargetFeedSpecification other && Equals(other); 203public 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>(),