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