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