Beispiel #1
0
        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);
        }
Beispiel #2
0
        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);
        }