Esempio n. 1
0
 public static async Task <CloudAppendBlob> CreateOrReplaceTaskOutputBlobAsync(this CloudUtilities u, int jobId, string key, CancellationToken token)
 {
     return(await u.GetOrCreateAppendBlobAsync(
                string.Format(u.Option.JobResultContainerPattern, IntegerKey.ToStringKey(jobId)),
                key,
                token));
 }
Esempio n. 2
0
 public static T.Task <CloudAppendBlob> CreateOrReplaceTaskChildrenBlobAsync(this CloudUtilities u, string key, CancellationToken token) =>
 u.GetOrCreateAppendBlobAsync(u.Option.TaskChildrenContainerName, key, token);
Esempio n. 3
0
 public static T.Task <CloudAppendBlob> CreateOrReplaceJobOutputBlobAsync(this CloudUtilities u, JobType jobType, string key, CancellationToken token) =>
 u.GetOrCreateAppendBlobAsync(
     string.Format(u.Option.JobResultContainerPattern, jobType.ToString().ToLowerInvariant()),
     key,
     token);