Beispiel #1
0
 public void Dispose()
 {
     lock (lockToken)
     {
         pageBuffer.Dispose();
     }
 }
 /// <summary>
 /// Dispose allocated resources.
 /// </summary>
 /// <param name="disposing">If <c>true</c> resources are deposed, <c>false</c> otherwise.</param>
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (!isDisposed)
         {
             pageBuffer.Dispose();
             isDisposed = true;
         }
     }
 }