10 instantiations of TargetFeedSpecification
Microsoft.DotNet.Build.Tasks.Feed (4)
src\model\TargetChannelConfig.cs (4)
151return new TargetFeedSpecification(tuple.types, tuple.feed, AssetSelection.All); 156return new TargetFeedSpecification(tuple.types, tuple.feed, tuple.assets); 161return new TargetFeedSpecification(ImmutableList.Create(tuple.type), tuple.feed, AssetSelection.All); 166return new TargetFeedSpecification(ImmutableList.Create(tuple.type), tuple.feed, tuple.assets);
Microsoft.DotNet.Build.Tasks.Feed.Tests (6)
GeneralTests.cs (3)
209new (new[] { TargetFeedContentType.Deb }, dummyFeedUrl, AssetSelection.ShippingOnly) 222new (new[] { TargetFeedContentType.Deb }, dummyFeedUrl, AssetSelection.ShippingOnly) 243new (new[] { TargetFeedContentType.Deb }, dummyFeedUrl, AssetSelection.ShippingOnly)
SetupTargetFeedConfigV3Tests.cs (3)
443Action shouldFail = () => new TargetFeedSpecification(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.All); 446Action shouldPassShippingOnly = () => new TargetFeedSpecification(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.ShippingOnly); 449Action shouldPassNonShippingOnly = () => new TargetFeedSpecification(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.NonShippingOnly);
34 references to TargetFeedSpecification
Microsoft.DotNet.Build.Tasks.Feed (30)
src\model\PublishingConstants.cs (20)
125private static TargetFeedSpecification[] DotNet6Feeds = 133private static TargetFeedSpecification[] DotNet6InternalFeeds = 141private static TargetFeedSpecification[] DotNet7Feeds = 149private static TargetFeedSpecification[] DotNet7InternalFeeds = 157private static TargetFeedSpecification[] DotNet8Feeds = 165private static TargetFeedSpecification[] DotNet8WorkloadFeeds = 173private static TargetFeedSpecification[] DotNet8InternalFeeds = 181private static TargetFeedSpecification[] DotNet9Feeds = 189private static TargetFeedSpecification[] DotNet9InternalFeeds = 197private static TargetFeedSpecification[] DotNet9WorkloadFeeds = 205private static TargetFeedSpecification[] DotNet10Feeds = 213private static TargetFeedSpecification[] DotNet10WorkloadFeeds = 221private static TargetFeedSpecification[] DotNetEngFeeds = 229private static TargetFeedSpecification[] DotNetToolsFeeds = 237private static TargetFeedSpecification[] DotNetToolsInternalFeeds = 245private static TargetFeedSpecification[] DotNetExperimentalFeeds = 253private static TargetFeedSpecification[] DotNetLibrariesFeeds = 261private static TargetFeedSpecification[] DotNetLibrariesInternalFeeds = 269private static TargetFeedSpecification[] GeneralTestingFeeds = 277private static TargetFeedSpecification[] GeneralTestingInternalFeeds =
src\model\SetupTargetFeedConfigV3.cs (1)
126foreach (var spec in _targetChannelConfig.TargetFeeds)
src\model\TargetChannelConfig.cs (9)
36public ImmutableList<TargetFeedSpecification> TargetFeeds { get; } 54IEnumerable<TargetFeedSpecification> targetFeeds, 128foreach (var feedSpec in TargetFeeds) 149public static implicit operator TargetFeedSpecification((TargetFeedContentType[] types, string feed) tuple) 154public static implicit operator TargetFeedSpecification((TargetFeedContentType[] types, string feed, AssetSelection assets) tuple) 159public static implicit operator TargetFeedSpecification((TargetFeedContentType type, string feed) tuple) 164public static implicit operator TargetFeedSpecification((TargetFeedContentType type, string feed, AssetSelection assets) tuple) 187return obj is TargetFeedSpecification other && Equals(other); 190public bool Equals(TargetFeedSpecification other) => ContentTypes.Count == other.ContentTypes.Count &&
Microsoft.DotNet.Build.Tasks.Feed.Tests (4)
GeneralTests.cs (4)
207targetFeeds: new TargetFeedSpecification[] 220targetFeeds: new TargetFeedSpecification[] 241targetFeeds: new TargetFeedSpecification[] 254targetFeeds: Enumerable.Empty<TargetFeedSpecification>(),