public IDisposable StartOperation(string operation, string mainPackageId, string mainPackageVersion) { return(DisposableAction.All( Repositories.Select(r => r.StartOperation(operation, mainPackageId, mainPackageVersion)))); }
public IDisposable StartOperation(string operation, string mainPackageId, string mainPackageVersion) { return(DisposableAction.All(_primaryRepository.StartOperation(operation, mainPackageId, mainPackageVersion), _secondaryRepository.StartOperation(operation, mainPackageId, mainPackageVersion))); }
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)))); }
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)); }