예제 #1
0
파일: Program.cs 프로젝트: Normis/VikingFS
        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());
 }