Exemple #1
0
 public async Task <DumpArtifact> GetOrAddAsync(DumpArtifact dumpArtifact, CancellationToken cancelToken)
 {
     return(await this.GetOrAddAsync(cancelToken, this.DumpArtifacts, dumpArtifact, dumpArtifact.DumpId, dumpArtifact.LocalPath));
 }
Exemple #2
0
 public async Task <bool> TryAddAsync(DumpArtifact dumpArtifact, CancellationToken cancelToken)
 {
     return(await this.GetOrAddAsync(dumpArtifact, cancelToken) == dumpArtifact);
 }