13 instantiations of TargetFeedSpecification
Microsoft.DotNet.Build.Tasks.Feed (4)
src\model\TargetChannelConfig.cs (4)
174return new TargetFeedSpecification(tuple.types, tuple.feed, AssetSelection.All); 179return new TargetFeedSpecification(tuple.types, tuple.feed, tuple.assets); 184return new TargetFeedSpecification(ImmutableList.Create(tuple.type), tuple.feed, AssetSelection.All); 189return 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)
448Action shouldFail = () => new TargetFeedSpecification(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.All); 451Action shouldPassShippingOnly = () => new TargetFeedSpecification(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.ShippingOnly); 454Action shouldPassNonShippingOnly = () => new TargetFeedSpecification(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.NonShippingOnly);
SetupTargetFeedConfigV4Tests.cs (3)
400Action shouldFail = () => new TargetFeedSpecification(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.All); 403Action shouldPassShippingOnly = () => new TargetFeedSpecification(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.ShippingOnly); 406Action shouldPassNonShippingOnly = () => new TargetFeedSpecification(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.NonShippingOnly);
40 references to TargetFeedSpecification
Microsoft.DotNet.Build.Tasks.Feed (33)
src\model\PublishingConstants.cs (22)
148private static TargetFeedSpecification[] DotNet6Feeds = 156private static TargetFeedSpecification[] DotNet6InternalFeeds = 164private static TargetFeedSpecification[] DotNet8Feeds = 172private static TargetFeedSpecification[] DotNet8WorkloadFeeds = 180private static TargetFeedSpecification[] DotNet8InternalFeeds = 188private static TargetFeedSpecification[] DotNet9Feeds = 196private static TargetFeedSpecification[] DotNet9InternalFeeds = 204private static TargetFeedSpecification[] DotNet9WorkloadFeeds = 212private static TargetFeedSpecification[] DotNet10Feeds = 228private static TargetFeedSpecification[] DotNet10InternalFeeds = 244private static TargetFeedSpecification[] DotNet10WorkloadFeeds = 252private static TargetFeedSpecification[] DotNet11Feeds = 268private static TargetFeedSpecification[] DotNet11WorkloadFeeds = 276private static TargetFeedSpecification[] DotNetEngFeeds = 284private static TargetFeedSpecification[] DotNetToolsFeeds = 292private static TargetFeedSpecification[] DotNetToolsInternalFeeds = 300private static TargetFeedSpecification[] DotNetExperimentalFeeds = 308private static TargetFeedSpecification[] DotNetExperimentalInternalFeeds = 316private static TargetFeedSpecification[] DotNetLibrariesFeeds = 324private static TargetFeedSpecification[] DotNetLibrariesInternalFeeds = 332private static TargetFeedSpecification[] GeneralTestingFeeds = 340private static TargetFeedSpecification[] GeneralTestingInternalFeeds =
src\model\SetupTargetFeedConfigV3.cs (1)
140foreach (var spec in _targetChannelConfig.TargetFeeds)
src\model\SetupTargetFeedConfigV4.cs (1)
126foreach (var spec in _targetChannelConfig.TargetFeeds)
src\model\TargetChannelConfig.cs (9)
41public ImmutableList<TargetFeedSpecification> TargetFeeds { get; } 65IEnumerable<TargetFeedSpecification> targetFeeds, 155foreach (var feedSpec in TargetFeeds) 172public static implicit operator TargetFeedSpecification((TargetFeedContentType[] types, string feed) tuple) 177public static implicit operator TargetFeedSpecification((TargetFeedContentType[] types, string feed, AssetSelection assets) tuple) 182public static implicit operator TargetFeedSpecification((TargetFeedContentType type, string feed) tuple) 187public static implicit operator TargetFeedSpecification((TargetFeedContentType type, string feed, AssetSelection assets) tuple) 210return obj is TargetFeedSpecification other && Equals(other); 213public bool Equals(TargetFeedSpecification other) => ContentTypes.Count == other.ContentTypes.Count &&
Microsoft.DotNet.Build.Tasks.Feed.Tests (7)
GeneralTests.cs (4)
209targetFeeds: new TargetFeedSpecification[] 223targetFeeds: new TargetFeedSpecification[] 245targetFeeds: new TargetFeedSpecification[] 259targetFeeds: Enumerable.Empty<TargetFeedSpecification>(),
ProductionChannelValidatorTests.cs (2)
90targetFeeds: new TargetFeedSpecification[0], 105targetFeeds: new TargetFeedSpecification[0],
PublishArtifactsInManifestTests.cs (1)
208targetFeeds: new TargetFeedSpecification[0],