10 instantiations of TargetFeedSpecification
Microsoft.DotNet.Build.Tasks.Feed (4)
src\model\TargetChannelConfig.cs (4)
164
return new
TargetFeedSpecification
(tuple.types, tuple.feed, AssetSelection.All);
169
return new
TargetFeedSpecification
(tuple.types, tuple.feed, tuple.assets);
174
return new
TargetFeedSpecification
(ImmutableList.Create(tuple.type), tuple.feed, AssetSelection.All);
179
return new
TargetFeedSpecification
(ImmutableList.Create(tuple.type), tuple.feed, tuple.assets);
Microsoft.DotNet.Build.Tasks.Feed.Tests (6)
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)
457
Action shouldFail = () => new
TargetFeedSpecification
(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.All);
460
Action shouldPassShippingOnly = () => new
TargetFeedSpecification
(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.ShippingOnly);
463
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)
126
private static
TargetFeedSpecification
[] DotNet6Feeds =
134
private static
TargetFeedSpecification
[] DotNet6InternalFeeds =
142
private static
TargetFeedSpecification
[] DotNet7Feeds =
150
private static
TargetFeedSpecification
[] DotNet7InternalFeeds =
158
private static
TargetFeedSpecification
[] DotNet8Feeds =
166
private static
TargetFeedSpecification
[] DotNet8WorkloadFeeds =
174
private static
TargetFeedSpecification
[] DotNet8InternalFeeds =
182
private static
TargetFeedSpecification
[] DotNet9Feeds =
190
private static
TargetFeedSpecification
[] DotNet9InternalFeeds =
198
private static
TargetFeedSpecification
[] DotNet9WorkloadFeeds =
206
private static
TargetFeedSpecification
[] DotNet10Feeds =
214
private static
TargetFeedSpecification
[] DotNet10InternalFeeds =
222
private static
TargetFeedSpecification
[] DotNet10WorkloadFeeds =
230
private static
TargetFeedSpecification
[] DotNetEngFeeds =
238
private static
TargetFeedSpecification
[] DotNetToolsFeeds =
246
private static
TargetFeedSpecification
[] DotNetToolsInternalFeeds =
254
private static
TargetFeedSpecification
[] DotNetExperimentalFeeds =
262
private static
TargetFeedSpecification
[] DotNetLibrariesFeeds =
270
private static
TargetFeedSpecification
[] DotNetLibrariesInternalFeeds =
278
private static
TargetFeedSpecification
[] GeneralTestingFeeds =
286
private static
TargetFeedSpecification
[] GeneralTestingInternalFeeds =
src\model\SetupTargetFeedConfigV3.cs (1)
125
foreach (
var
spec in _targetChannelConfig.TargetFeeds)
src\model\TargetChannelConfig.cs (9)
42
public ImmutableList<
TargetFeedSpecification
> TargetFeeds { get; }
60
IEnumerable<
TargetFeedSpecification
> targetFeeds,
145
foreach (
var
feedSpec in TargetFeeds)
162
public static implicit operator
TargetFeedSpecification
((TargetFeedContentType[] types, string feed) tuple)
167
public static implicit operator
TargetFeedSpecification
((TargetFeedContentType[] types, string feed, AssetSelection assets) tuple)
172
public static implicit operator
TargetFeedSpecification
((TargetFeedContentType type, string feed) tuple)
177
public static implicit operator
TargetFeedSpecification
((TargetFeedContentType type, string feed, AssetSelection assets) tuple)
200
return obj is
TargetFeedSpecification
other && Equals(other);
203
public bool Equals(
TargetFeedSpecification
other) => ContentTypes.Count == other.ContentTypes.Count &&
Microsoft.DotNet.Build.Tasks.Feed.Tests (4)
GeneralTests.cs (4)
209
targetFeeds: new
TargetFeedSpecification
[]
223
targetFeeds: new
TargetFeedSpecification
[]
245
targetFeeds: new
TargetFeedSpecification
[]
259
targetFeeds: Enumerable.Empty<
TargetFeedSpecification
>(),