public FieldComparer(string comFilePath, string middlewareFilePath, string ifsFolderPath, string ifsFileName) { fm = new fileMiddleware(middlewareFilePath); currentIFS = new IncrementalFileSystem(ifsFolderPath, ifsFileName); fm.addNewFile(currentIFS.GetPath(), currentIFS.GetFullPath()); taxreturn = new TaxprepT2Com2014V2.Taxprep2014T2Return(); taxreturn.Open(comFilePath); }
static void TestFileMiddleware() { var fm = new fileMiddleware(@"C:\Users\Utilisateur\Desktop\middleware.txt"); fm.addNewFile("TechnoViking.dat", @"C:\Users\Utilisateur\Desktop\Technoviking.dat"); fm.addNewFile("Ropt.banane", @"C:\Users\Utilisateur\Desktop\Technoviking.dat"); Console.WriteLine(fm.getPath("TechnoViking.dat")); Console.ReadKey(); }