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)
209
new
(new[] { TargetFeedContentType.Deb }, dummyFeedUrl, AssetSelection.ShippingOnly)
222
new
(new[] { TargetFeedContentType.Deb }, dummyFeedUrl, AssetSelection.ShippingOnly)
243
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);
34 references to TargetFeedSpecification
Microsoft.DotNet.Build.Tasks.Feed (30)
src\model\PublishingConstants.cs (20)
125
private static
TargetFeedSpecification
[] DotNet6Feeds =
133
private static
TargetFeedSpecification
[] DotNet6InternalFeeds =
141
private static
TargetFeedSpecification
[] DotNet7Feeds =
149
private static
TargetFeedSpecification
[] DotNet7InternalFeeds =
157
private static
TargetFeedSpecification
[] DotNet8Feeds =
165
private static
TargetFeedSpecification
[] DotNet8WorkloadFeeds =
173
private static
TargetFeedSpecification
[] DotNet8InternalFeeds =
181
private static
TargetFeedSpecification
[] DotNet9Feeds =
189
private static
TargetFeedSpecification
[] DotNet9InternalFeeds =
197
private static
TargetFeedSpecification
[] DotNet9WorkloadFeeds =
205
private static
TargetFeedSpecification
[] DotNet10Feeds =
213
private static
TargetFeedSpecification
[] DotNet10WorkloadFeeds =
221
private static
TargetFeedSpecification
[] DotNetEngFeeds =
229
private static
TargetFeedSpecification
[] DotNetToolsFeeds =
237
private static
TargetFeedSpecification
[] DotNetToolsInternalFeeds =
245
private static
TargetFeedSpecification
[] DotNetExperimentalFeeds =
253
private static
TargetFeedSpecification
[] DotNetLibrariesFeeds =
261
private static
TargetFeedSpecification
[] DotNetLibrariesInternalFeeds =
269
private static
TargetFeedSpecification
[] GeneralTestingFeeds =
277
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)
207
targetFeeds: new
TargetFeedSpecification
[]
220
targetFeeds: new
TargetFeedSpecification
[]
241
targetFeeds: new
TargetFeedSpecification
[]
254
targetFeeds: Enumerable.Empty<
TargetFeedSpecification
>(),