6 implementations of UploadAsync
Microsoft.DotNet.Helix.JobSender (6)
Payloads\AdhocPayload.cs (1)
30
public async Task<string>
UploadAsync
(IBlobContainer payloadContainer, Action<string> log, CancellationToken cancellationToken)
Payloads\ArchivePayload.cs (1)
28
public Task<string>
UploadAsync
(IBlobContainer payloadContainer, Action<string> log, CancellationToken cancellationToken)
Payloads\DirectoryPayload.cs (1)
35
public Task<string>
UploadAsync
(IBlobContainer payloadContainer, Action<string> log, CancellationToken cancellationToken)
Payloads\EmptyPayload.cs (1)
20
public Task<string>
UploadAsync
(IBlobContainer payloadContainer, Action<string> log, CancellationToken cancellationToken)
Payloads\SingleFilePayload.cs (1)
34
public async Task<string>
UploadAsync
(IBlobContainer payloadContainer, Action<string> log, CancellationToken cancellationToken)
Payloads\UriPayload.cs (1)
19
public Task<string>
UploadAsync
(IBlobContainer payloadContainer, Action<string> log, CancellationToken cancellationToken)
2 references to UploadAsync
Microsoft.DotNet.Helix.JobSender (2)
JobDefinition.cs (1)
181
(await Task.WhenAll(CorrelationPayloads.Select(async p => (uri: await p.Key.
UploadAsync
(storageContainer, log, cancellationToken), destination: p.Value)))).ToDictionary(x => x.uri, x => x.destination);
WorkItemDefinition.cs (1)
124
PayloadUri = await Payload.
UploadAsync
(payloadStorage, log, cancellationToken),