Beispiel #1
0
 private void DisposeLastFileExporter()
 {
     if (null != this.fileExporter)
     {
         this.fileExporter.Dispose();
         this.fileExporter = null;
     }
     BattleDBHelper.SaveCacheData();
 }
Beispiel #2
0
 private void CreateFileExporter(DetectionParamsItem paramsItem)
 {
     lock (this)
     {
         //this.DisposeLastFileExporter();
         if (null == this.fileExporter)
         {
             this.fileExporter = new BattleExportBase(paramsItem.DataFilePath, paramsItem.IsAppended);
             this.LoadLastStopCount();
         }
     }
 }