10 instantiations of TargetFeedSpecification
Microsoft.DotNet.Build.Tasks.Feed (4)
src\model\TargetChannelConfig.cs (4)
151
return new
TargetFeedSpecification
(tuple.types, tuple.feed, AssetSelection.All);
156
return new
TargetFeedSpecification
(tuple.types, tuple.feed, tuple.assets);
161
return new
TargetFeedSpecification
(ImmutableList.Create(tuple.type), tuple.feed, AssetSelection.All);
166
return new
TargetFeedSpecification
(ImmutableList.Create(tuple.type), tuple.feed, tuple.assets);
Microsoft.DotNet.Build.Tasks.Feed.Tests (6)
GeneralTests.cs (3)
208
new
(new[] { TargetFeedContentType.Deb }, dummyFeedUrl, AssetSelection.ShippingOnly)
221
new
(new[] { TargetFeedContentType.Deb }, dummyFeedUrl, AssetSelection.ShippingOnly)
242
new
(new[] { TargetFeedContentType.Deb }, dummyFeedUrl, AssetSelection.ShippingOnly)
SetupTargetFeedConfigV3Tests.cs (3)
443
Action shouldFail = () => new
TargetFeedSpecification
(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.All);
446
Action shouldPassShippingOnly = () => new
TargetFeedSpecification
(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.ShippingOnly);
449
Action 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)
131
private static
TargetFeedSpecification
[] DotNet6Feeds =
139
private static
TargetFeedSpecification
[] DotNet6InternalFeeds =
147
private static
TargetFeedSpecification
[] DotNet7Feeds =
155
private static
TargetFeedSpecification
[] DotNet7InternalFeeds =
163
private static
TargetFeedSpecification
[] DotNet8Feeds =
171
private static
TargetFeedSpecification
[] DotNet8WorkloadFeeds =
179
private static
TargetFeedSpecification
[] DotNet8InternalFeeds =
187
private static
TargetFeedSpecification
[] DotNet9Feeds =
195
private static
TargetFeedSpecification
[] DotNet9InternalFeeds =
203
private static
TargetFeedSpecification
[] DotNet9WorkloadFeeds =
211
private static
TargetFeedSpecification
[] DotNet10Feeds =
219
private static
TargetFeedSpecification
[] DotNet10InternalFeeds =
227
private static
TargetFeedSpecification
[] DotNet10WorkloadFeeds =
235
private static
TargetFeedSpecification
[] DotNetEngFeeds =
243
private static
TargetFeedSpecification
[] DotNetToolsFeeds =
251
private static
TargetFeedSpecification
[] DotNetToolsInternalFeeds =
259
private static
TargetFeedSpecification
[] DotNetExperimentalFeeds =
267
private static
TargetFeedSpecification
[] DotNetLibrariesFeeds =
275
private static
TargetFeedSpecification
[] DotNetLibrariesInternalFeeds =
283
private static
TargetFeedSpecification
[] GeneralTestingFeeds =
291
private static
TargetFeedSpecification
[] GeneralTestingInternalFeeds =
src\model\SetupTargetFeedConfigV3.cs (1)
126
foreach (
var
spec in _targetChannelConfig.TargetFeeds)
src\model\TargetChannelConfig.cs (9)
36
public ImmutableList<
TargetFeedSpecification
> TargetFeeds { get; }
54
IEnumerable<
TargetFeedSpecification
> targetFeeds,
128
foreach (
var
feedSpec in TargetFeeds)
149
public static implicit operator
TargetFeedSpecification
((TargetFeedContentType[] types, string feed) tuple)
154
public static implicit operator
TargetFeedSpecification
((TargetFeedContentType[] types, string feed, AssetSelection assets) tuple)
159
public static implicit operator
TargetFeedSpecification
((TargetFeedContentType type, string feed) tuple)
164
public static implicit operator
TargetFeedSpecification
((TargetFeedContentType type, string feed, AssetSelection assets) tuple)
187
return obj is
TargetFeedSpecification
other && Equals(other);
190
public bool Equals(
TargetFeedSpecification
other) => ContentTypes.Count == other.ContentTypes.Count &&
Microsoft.DotNet.Build.Tasks.Feed.Tests (4)
GeneralTests.cs (4)
206
targetFeeds: new
TargetFeedSpecification
[]
219
targetFeeds: new
TargetFeedSpecification
[]
240
targetFeeds: new
TargetFeedSpecification
[]
253
targetFeeds: Enumerable.Empty<
TargetFeedSpecification
>(),