Esempio n. 1
0
        public IDisposable StartOperation(string operationName, string mainPackageId, string mainPackageVersion)
        {
            operationInfo = new PackageRepositoryOperationInfo(operationName, mainPackageId, mainPackageVersion);
            OperationsStarted.Add(operationInfo);

            OperationStarted = operationName;
            MainPackageIdForOperationStarted = mainPackageId;

            return(operationInfo.Operation);
        }
        public IDisposable StartOperation(string operationName, string mainPackageId, string mainPackageVersion)
        {
            operationInfo = new PackageRepositoryOperationInfo(operationName, mainPackageId, mainPackageVersion);
            OperationsStarted.Add(operationInfo);

            OperationStarted = operationName;
            MainPackageIdForOperationStarted = mainPackageId;

            return operationInfo.Operation;
        }