Пример #1
0
 public void Dispose()
 {
     if (this._stream != null)
     {
         this._stream.Close();
         this._stream = (Stream)null;
     }
     this._fileName = (string)null;
     this._dataMap  = (DataMap)null;
     GC.SuppressFinalize((object)this);
 }
Пример #2
0
 internal Enumerator(DataMap map)
 {
     this._map = map;
     this._version = map._version;
     this._current = (DataBlock)null;
     this._index = -1;
 }
Пример #3
0
 private void ReInitialize()
 {
     this._dataMap = new DataMap();
     this._dataMap.AddFirst((DataBlock) new FileDataBlock(0L, this._stream.Length));
     this._totalLength = this._stream.Length;
 }
Пример #4
0
 private void ReInitialize()
 {
     this._dataMap = new DataMap();
     this._dataMap.AddFirst((DataBlock)new FileDataBlock(0L, this._stream.Length));
     this._totalLength = this._stream.Length;
 }
Пример #5
0
 public void Dispose()
 {
     if (this._stream != null)
     {
         this._stream.Close();
         this._stream = (Stream)null;
     }
     this._fileName = (string)null;
     this._dataMap = (DataMap)null;
     GC.SuppressFinalize((object)this);
 }