Exemplo 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);
 }
Exemplo 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;
 }
Exemplo n.º 5
0
 internal Enumerator(DataMap map)
 {
     _map = map;
     _version = map._version;
     _current = null;
     _index = -1;
 }
Exemplo n.º 6
0
 void ReInitialize()
 {
     _dataMap = new DataMap();
     _dataMap.AddFirst(new FileDataBlock(0, _stream.Length));
     _totalLength = _stream.Length;
 }
Exemplo n.º 7
0
 internal Enumerator(DataMap map)
 {
     _map = map;
     _index = -1;
 }
Exemplo n.º 8
0
 internal Enumerator(DataMap map)
 {
     _map   = map;
     _index = -1;
 }