10 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 (6)
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);
35 references to TargetFeedSpecification
Microsoft.DotNet.Build.Tasks.Feed (31)
src\model\PublishingConstants.cs (21)
126private static TargetFeedSpecification[] DotNet6Feeds = 134private static TargetFeedSpecification[] DotNet6InternalFeeds = 142private static TargetFeedSpecification[] DotNet7Feeds = 150private static TargetFeedSpecification[] DotNet7InternalFeeds = 158private static TargetFeedSpecification[] DotNet8Feeds = 166private static TargetFeedSpecification[] DotNet8WorkloadFeeds = 174private static TargetFeedSpecification[] DotNet8InternalFeeds = 182private static TargetFeedSpecification[] DotNet9Feeds = 190private static TargetFeedSpecification[] DotNet9InternalFeeds = 198private static TargetFeedSpecification[] DotNet9WorkloadFeeds = 206private static TargetFeedSpecification[] DotNet10Feeds = 214private static TargetFeedSpecification[] DotNet10InternalFeeds = 222private static TargetFeedSpecification[] DotNet10WorkloadFeeds = 230private static TargetFeedSpecification[] DotNetEngFeeds = 238private static TargetFeedSpecification[] DotNetToolsFeeds = 246private static TargetFeedSpecification[] DotNetToolsInternalFeeds = 254private static TargetFeedSpecification[] DotNetExperimentalFeeds = 262private static TargetFeedSpecification[] DotNetLibrariesFeeds = 270private static TargetFeedSpecification[] DotNetLibrariesInternalFeeds = 278private static TargetFeedSpecification[] GeneralTestingFeeds = 286private static TargetFeedSpecification[] GeneralTestingInternalFeeds =
src\model\SetupTargetFeedConfigV3.cs (1)
125foreach (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>(),