Dispose() public method

public Dispose ( ) : void
return void
Exemplo n.º 1
0
 /// <summary>
 /// Frees all heaps and streams that are being used.
 /// </summary>
 public void Dispose()
 {
     if (blobheap != null)
     {
         blobheap.Dispose();
     }
     if (guidheap != null)
     {
         guidheap.Dispose();
     }
     if (stringsheap != null)
     {
         stringsheap.Dispose();
     }
     if (usheap != null)
     {
         usheap.Dispose();
     }
     if (tableheap != null)
     {
         tableheap.Dispose();
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Frees all heaps and streams that are being used.
 /// </summary>
 public void Dispose()
 {
     if (_blobheap != null)
     {
         _blobheap.Dispose();
     }
     if (_guidheap != null)
     {
         _guidheap.Dispose();
     }
     if (_stringsheap != null)
     {
         _stringsheap.Dispose();
     }
     if (_usheap != null)
     {
         _usheap.Dispose();
     }
     if (_tableheap != null)
     {
         _tableheap.Dispose();
     }
 }