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(); }
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); }
public void Branch(string branchName) { currentIFS = new IncrementalFileSystem(currentIFS.FolderPath, branchName, currentIFS.GetPath()); fm.addNewFile(currentIFS.GetPath(), currentIFS.GetFullPath()); }