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)
158
private static
TargetFeedSpecification
[] DotNet6Feeds =
166
private static
TargetFeedSpecification
[] DotNet6InternalFeeds =
174
private static
TargetFeedSpecification
[] DotNet8Feeds =
182
private static
TargetFeedSpecification
[] DotNet8WorkloadFeeds =
190
private static
TargetFeedSpecification
[] DotNet8InternalFeeds =
198
private static
TargetFeedSpecification
[] DotNet9Feeds =
206
private static
TargetFeedSpecification
[] DotNet9InternalFeeds =
214
private static
TargetFeedSpecification
[] DotNet9WorkloadFeeds =
222
private static
TargetFeedSpecification
[] DotNet10Feeds =
238
private static
TargetFeedSpecification
[] DotNet10InternalFeeds =
254
private static
TargetFeedSpecification
[] DotNet10WorkloadFeeds =
262
private static
TargetFeedSpecification
[] DotNet11Feeds =
278
private static
TargetFeedSpecification
[] DotNet11WorkloadFeeds =
286
private static
TargetFeedSpecification
[] DotNetEngFeeds =
294
private static
TargetFeedSpecification
[] DotNetToolsFeeds =
302
private static
TargetFeedSpecification
[] DotNetToolsInternalFeeds =
310
private static
TargetFeedSpecification
[] DotNetExperimentalFeeds =
318
private static
TargetFeedSpecification
[] DotNetExperimentalInternalFeeds =
326
private static
TargetFeedSpecification
[] DotNetLibrariesFeeds =
334
private static
TargetFeedSpecification
[] DotNetLibrariesInternalFeeds =
342
private static
TargetFeedSpecification
[] GeneralTestingFeeds =
350
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],