Ejemplo 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));
 }
Ejemplo n.º 2
0
 public static T.Task <CloudAppendBlob> CreateOrReplaceTaskChildrenBlobAsync(this CloudUtilities u, string key, CancellationToken token) =>
 u.GetOrCreateAppendBlobAsync(u.Option.TaskChildrenContainerName, key, token);
Ejemplo 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);