コード例 #1
0
        public void TestSetConfiguration()
        {
            csvFileService = new DataControl.Services.CsvFileService();
            DataControl.Interfaces.IDataAccessService dataAccessService =
                csvFileService.SetConfiguration(new DataControl.Services.FileConfiguration());

            Assert.AreSame(csvFileService, dataAccessService);
        }
コード例 #2
0
 private void SetCsvFileService()
 {
     csvFileService = new DataControl.Services.CsvFileService();
     csvFileService.SetConfiguration(new DataControl.Services.FileConfiguration()
     {
         ClientFile = Configuration.CLIENT_FILE_PATH,
         DriverFile = Configuration.DRIVER_FILE_PATH,
         RouteFile  = Configuration.ROUTE_FILE_PATH,
         ScoreFile  = Configuration.SCORE_FILE_PATH,
         StreetFile = Configuration.STREET_FILE_PATH
     });
 }