コード例 #1
0
        public CSVReader()
        {
            string filePath =
                AppDomain.CurrentDomain.BaseDirectory + "People.txt";

            FileLoader = new CSVFileLoader(filePath);
        }
コード例 #2
0
 public CSVReader(CSVReaderFilePath filePath)
 {
     FileLoader = new CSVFileLoader(filePath.FilePath);
 }
コード例 #3
0
        }                                                                               // '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);
        }
コード例 #4
0
        public CSVReader()
        {
            string filePath = AppDomain.CurrentDomain.BaseDirectory + @"..\..\..\..\AdditionalFiles\People.txt";

            FileLoader = new CSVFileLoader(filePath);
        }