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)
208new (new[] { TargetFeedContentType.Deb }, dummyFeedUrl, AssetSelection.ShippingOnly) 221new (new[] { TargetFeedContentType.Deb }, dummyFeedUrl, AssetSelection.ShippingOnly) 242new (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);
35 references to TargetFeedSpecification
Microsoft.DotNet.Build.Tasks.Feed (31)
src\model\PublishingConstants.cs (21)
131private static TargetFeedSpecification[] DotNet6Feeds = 139private static TargetFeedSpecification[] DotNet6InternalFeeds = 147private static TargetFeedSpecification[] DotNet7Feeds = 155private static TargetFeedSpecification[] DotNet7InternalFeeds = 163private static TargetFeedSpecification[] DotNet8Feeds = 171private static TargetFeedSpecification[] DotNet8WorkloadFeeds = 179private static TargetFeedSpecification[] DotNet8InternalFeeds = 187private static TargetFeedSpecification[] DotNet9Feeds = 195private static TargetFeedSpecification[] DotNet9InternalFeeds = 203private static TargetFeedSpecification[] DotNet9WorkloadFeeds = 211private static TargetFeedSpecification[] DotNet10Feeds = 219private static TargetFeedSpecification[] DotNet10InternalFeeds = 227private static TargetFeedSpecification[] DotNet10WorkloadFeeds = 235private static TargetFeedSpecification[] DotNetEngFeeds = 243private static TargetFeedSpecification[] DotNetToolsFeeds = 251private static TargetFeedSpecification[] DotNetToolsInternalFeeds = 259private static TargetFeedSpecification[] DotNetExperimentalFeeds = 267private static TargetFeedSpecification[] DotNetLibrariesFeeds = 275private static TargetFeedSpecification[] DotNetLibrariesInternalFeeds = 283private static TargetFeedSpecification[] GeneralTestingFeeds = 291private 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)
206targetFeeds: new TargetFeedSpecification[] 219targetFeeds: new TargetFeedSpecification[] 240targetFeeds: new TargetFeedSpecification[] 253targetFeeds: Enumerable.Empty<TargetFeedSpecification>(),