2 instantiations of AkaMSLink
Microsoft.DotNet.Build.Tasks.Feed (1)
src\common\LatestLinksManager.cs (1)
128
AkaMSLink newLink = new
AkaMSLink
Microsoft.DotNet.Deployment.Tasks.Links (1)
src\CreateAkaMSLinks.cs (1)
78
linksToCreate.Add(new
AkaMSLink
25 references to AkaMSLink
Microsoft.DotNet.Build.Tasks.Feed (5)
src\common\LatestLinksManager.cs (5)
93
IEnumerable<
AkaMSLink
> linksToCreate = assetsToPublish
101
List<
AkaMSLink
> newLinks = new List<
AkaMSLink
>();
123
public
AkaMSLink
GetAkaMSLinkForAsset(string shortUrlPrefix, string feedBaseUrl, string asset, bool flatten)
128
AkaMSLink
newLink = new AkaMSLink
Microsoft.DotNet.Deployment.Tasks.Links (20)
src\AkaMSLinksManager.cs (15)
159
public async Task CreateOrUpdateLinksAsync(IEnumerable<
AkaMSLink
> links, string linkOwners,
165
List<IEnumerable<
AkaMSLink
>> linkBatches = new List<IEnumerable<
AkaMSLink
>>();
166
IEnumerable<
AkaMSLink
> remainingLinks = links;
184
private async Task<(IEnumerable<
AkaMSLink
> linksToCreate, IEnumerable<
AkaMSLink
> linksToUpdate)> BucketLinksAsync(
185
IEnumerable<
AkaMSLink
> links)
187
ConcurrentBag<
AkaMSLink
> linksToCreate = new ConcurrentBag<
AkaMSLink
>();
188
ConcurrentBag<
AkaMSLink
> linksToUpdate = new ConcurrentBag<
AkaMSLink
>();
262
private async Task CreateOrUpdateLinkBatchAsync(IEnumerable<
AkaMSLink
> links, string linkOwners,
308
(IEnumerable<
AkaMSLink
> linksToCreate, IEnumerable<
AkaMSLink
> linksToUpdate) = await BucketLinksAsync(links);
371
bool overwrite, IEnumerable<
AkaMSLink
> batchOfLinksToCreateOrUpdate)
src\CreateAkaMSLinks.cs (5)
55
List<
AkaMSLink
> linksToCreate = new List<
AkaMSLink
>();
60
string targetUrl = link.GetMetadata(nameof(
AkaMSLink
.TargetUrl));
61
string description = link.GetMetadata(nameof(
AkaMSLink
.Description));
88
foreach (
var
link in linksToCreate)