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)
146
private static
TargetFeedSpecification
[] DotNet6Feeds =
154
private static
TargetFeedSpecification
[] DotNet6InternalFeeds =
162
private static
TargetFeedSpecification
[] DotNet8Feeds =
170
private static
TargetFeedSpecification
[] DotNet8WorkloadFeeds =
178
private static
TargetFeedSpecification
[] DotNet8InternalFeeds =
186
private static
TargetFeedSpecification
[] DotNet9Feeds =
194
private static
TargetFeedSpecification
[] DotNet9InternalFeeds =
202
private static
TargetFeedSpecification
[] DotNet9WorkloadFeeds =
210
private static
TargetFeedSpecification
[] DotNet10Feeds =
226
private static
TargetFeedSpecification
[] DotNet10InternalFeeds =
234
private static
TargetFeedSpecification
[] DotNet10WorkloadFeeds =
242
private static
TargetFeedSpecification
[] DotNet11Feeds =
258
private static
TargetFeedSpecification
[] DotNet11WorkloadFeeds =
266
private static
TargetFeedSpecification
[] DotNetEngFeeds =
274
private static
TargetFeedSpecification
[] DotNetToolsFeeds =
282
private static
TargetFeedSpecification
[] DotNetToolsInternalFeeds =
290
private static
TargetFeedSpecification
[] DotNetExperimentalFeeds =
298
private static
TargetFeedSpecification
[] DotNetExperimentalInternalFeeds =
306
private static
TargetFeedSpecification
[] DotNetLibrariesFeeds =
314
private static
TargetFeedSpecification
[] DotNetLibrariesInternalFeeds =
322
private static
TargetFeedSpecification
[] GeneralTestingFeeds =
330
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],