public CSVReader() { string filePath = AppDomain.CurrentDomain.BaseDirectory + "People.txt"; FileLoader = new CSVFileLoader(filePath); }
public CSVReader(CSVReaderFilePath filePath) { FileLoader = new CSVFileLoader(filePath.FilePath); }
} // 'public' Property --> Injection Point for Unit Testing... public CSVReader() { string filePath = AppDomain.CurrentDomain.BaseDirectory + "People.txt"; // we need a post build event that copies the files there where the executable is... FileLoader = new CSVFileLoader(filePath); }
public CSVReader() { string filePath = AppDomain.CurrentDomain.BaseDirectory + @"..\..\..\..\AdditionalFiles\People.txt"; FileLoader = new CSVFileLoader(filePath); }