protected override void Execute(CodeActivityContext context) { string inputFolderPath = InputFolderPath.Get(context); string outputFolderPath = OutputFolderPath.Get(context); string outPutFileName = OutPutFileName.Get(context); HelperMethod method = new HelperMethod(); method.mergeExcels(inputFolderPath, outputFolderPath, outPutFileName); }
protected override void Execute(CodeActivityContext context) { string zipPath = ZipPath.Get(context); string outputFolderPath = OutputFolderPath.Get(context); bool result; try { ZipFile.ExtractToDirectory(zipPath, outputFolderPath); result = true; } catch (Exception ex) { result = false; } Result.Set(context, result); }