示例#1
0
 public void Dispose()
 {
     if (historyFile != null)
     {
         lock (accessLock)
         {
             if (historyFile != null)
             {
                 historyFile.Dispose();
                 historyFile = null;
             }
         }
     }
 }
示例#2
0
 public void Dispose()
 {
     if (historyFile != null)
     {
         lock (accessLock)
         {
             if (historyFile != null)
             {
                 historyFile.Dispose();
                 historyFile = null;
             }
         }
     }
 }
示例#3
0
 public HistoryManager(HistoryManagerData hmd)
 {
     Formatter   = new SmartHistoryFormatter();
     historyFile = new HistoryFile();
     historyFile.OpenFile(hmd.historyFile);
 }
示例#4
0
 public HistoryManager(HistoryManagerData hmd)
 {
     Formatter = new SmartHistoryFormatter();
     historyFile = new HistoryFile();
     historyFile.OpenFile(hmd.historyFile);
 }