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