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
文件: DataMap.cs 项目: kaaLabs15/LoRa
 internal Enumerator(DataMap map)
 {
     this._map = map;
     this._version = map._version;
     this._current = (DataBlock)null;
     this._index = -1;
 }
 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);
 }