Exemplo n.º 1
0
 private void updateOutputFolderFrom(string outputFolder)
 {
     OutputFolder = outputFolder;
     if (string.IsNullOrEmpty(LogFileFullPath))
     {
         LogFileFullPath = CoreConstants.DefaultBatchLogFullPath(OutputFolder);
     }
 }
        public virtual void SelectOutputFolder()
        {
            var outputFolder = _dialogCreator.AskForFolder("Select output folder where results will be exported", CoreConstants.DirectoryKey.BATCH);

            if (string.IsNullOrEmpty(outputFolder))
            {
                return;
            }
            _dto.OutputFolder = outputFolder;
            _logFileFullPath  = CoreConstants.DefaultBatchLogFullPath(outputFolder);
        }