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