/// <summary> /// Process the Inputfile /// </summary> /// <param name="outputFileName"></param> /// <returns></returns> public bool Process() { if (InputReader.ReadInData()) { if (OutputWriter.Process(((CSVInput)InputReader).Source)) { CompleteMessage = $"'{ FileInputHelper.InputConnection }' has converted successfully to { FileInputHelper.OutPutFileName }"; return(true); } } base.Problem = InputReader.Problem; return(false); }
public bool Process() { Problem = new Exception(Constants.Conversion.IsUnderConstruction); if (InputReader.ReadInData()) { if (OutputWriter.Process(((DatabaseInput)InputReader).Source)) { CompleteMessage = $"'{ BaseHelper.InputConnection }' has converted successfully to { DatabaseInputHelper.OutPutFileName }"; return(true); } } return(false); }