Esempio n. 1
0
 /// <summary>
 /// See <see cref="IDisposable.Dispose" /> for more information.
 /// </summary>
 public void Dispose()
 {
     if (_stream != null)
     {
         _stream.Close();
         _stream = null;
     }
     _fileName = null;
     _dataMap  = null;
     GC.SuppressFinalize(this);
 }
 void ReInitialize()
 {
     _dataMap = new DataMap();
     _dataMap.AddFirst(new FileDataBlock(0, _stream.Length));
     _totalLength = _stream.Length;
 }
 /// <summary>
 /// See <see cref="IDisposable.Dispose" /> for more information.
 /// </summary>
 public void Dispose()
 {
     if (_stream != null)
     {
         _stream.Close();
         _stream = null;
     }
     _fileName = null;
     _dataMap = null;
     GC.SuppressFinalize(this);
 }
Esempio n. 4
0
 private void ReInitialize()
 {
     this._dataMap = new DataMap();
     this._dataMap.AddFirst((DataBlock) new FileDataBlock(0L, this._stream.Length));
     this._totalLength = this._stream.Length;
 }
Esempio n. 5
0
 internal Enumerator(DataMap map)
 {
     _map = map;
     _version = map._version;
     _current = null;
     _index = -1;
 }
Esempio n. 6
0
 void ReInitialize()
 {
     _dataMap = new DataMap();
     _dataMap.AddFirst(new FileDataBlock(0, _stream.Length));
     _totalLength = _stream.Length;
 }
Esempio n. 7
0
 internal Enumerator(DataMap map)
 {
     _map = map;
     _index = -1;
 }
Esempio n. 8
0
 internal Enumerator(DataMap map)
 {
     _map   = map;
     _index = -1;
 }