コード例 #1
0
ファイル: OXml.cs プロジェクト: labeuze/source
 public OXml()
 {
     _compressManager = new CompressManager(new ZipManager());
 }
コード例 #2
0
 //public UncompressQueueManager()
 public UncompressQueueManager(CompressBaseManager compressManager)
 {
     //_compressManager = new CompressManager();
     _compressManager = new CompressManager(compressManager);
     Start();
 }
コード例 #3
0
ファイル: Test_Zip_f.cs プロジェクト: labeuze/source
 public static void Test_CompressManager_01(string file, string directory = null, UncompressOptions options = UncompressOptions.None)
 {
     Trace.WriteLine("Uncompress file \"{0}\" in \"{1}\"", file, directory);
     Trace.WriteLine("options {0}", options);
     CompressManager compressManager = new CompressManager();
     UncompressResult result = compressManager.Uncompress(file, directory, options);
     //Trace.WriteLine("Uncompress files :");
     //foreach (string file2 in result.UncompressFiles)
     //    Trace.WriteLine("  \"{0}\"", file2);
     //Trace.WriteLine("Compress files :");
     //foreach (string file2 in result.CompressFiles)
     //    Trace.WriteLine("  \"{0}\"", file2);
     Trace.WriteLine("result :");
     Trace.WriteLine(result.zToJson());
 }