Dispose() public method

public Dispose ( ) : void
return void
コード例 #1
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         _pool?.Dispose();
     }
     base.Dispose(disposing);
 }
コード例 #2
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (pool != null)
         {
             pool.Dispose();
         }
     }
     base.Dispose(disposing);
 }