Exemple #1
0
 public IDisposable StartOperation(string operation, string mainPackageId, string mainPackageVersion)
 {
     return(DisposableAction.All(
                Repositories.Select(r => r.StartOperation(operation, mainPackageId, mainPackageVersion))));
 }
Exemple #2
0
 public IDisposable StartOperation(string operation, string mainPackageId, string mainPackageVersion)
 {
     return(DisposableAction.All(_primaryRepository.StartOperation(operation, mainPackageId, mainPackageVersion),
                                 _secondaryRepository.StartOperation(operation, mainPackageId, mainPackageVersion)));
 }
Exemple #3
0
 public IDisposable StartOperation(string operation, string mainPackageId, string mainPackageVersion) =>
 DisposableAction.All((IEnumerable <IDisposable>)(from r in this.Repositories select r.StartOperation(operation, mainPackageId, mainPackageVersion)));
 public IDisposable StartOperation(string operation)
 {
     return(DisposableAction.All(
                Repositories.Select(r => r.StartOperation(operation))));
 }
Exemple #5
0
 public IDisposable StartOperation(string operation, string mainPackageId, string mainPackageVersion)
 {
     IDisposable[] tokens = new IDisposable[] { this._primaryRepository.StartOperation(operation, mainPackageId, mainPackageVersion), this._secondaryRepository.StartOperation(operation, mainPackageId, mainPackageVersion) };
     return(DisposableAction.All(tokens));
 }