示例#1
0
 private void Dispose(bool disposing)
 {
     StorageGlobals.TraceDispose(this, this.isDisposed, disposing);
     if (!this.isDisposed)
     {
         if (disposing && this.disposeLock != null)
         {
             try
             {
                 this.disposeLock.EnterWriteLock();
                 this.isDisposed = true;
             }
             finally
             {
                 try
                 {
                     this.disposeLock.ExitWriteLock();
                 }
                 catch (SynchronizationLockException)
                 {
                 }
             }
         }
         this.InternalDispose(disposing);
         ExTraceGlobals.EventTracer.TraceDebug <EventPump>((long)this.GetHashCode(), "EventPump::Dispose. {0}", this);
     }
 }
示例#2
0
 private void Dispose(bool disposing)
 {
     StorageGlobals.TraceDispose(this, this.isDisposed, disposing);
     if (!this.isDisposed)
     {
         this.InternalDispose(disposing);
     }
 }
示例#3
0
 public void Dispose(bool disposing)
 {
     StorageGlobals.TraceDispose(this, this.disposed, disposing);
     if (!this.disposed)
     {
         this.disposed = true;
         this.InternalDispose(disposing);
     }
 }
 protected override void Dispose(bool disposing)
 {
     StorageGlobals.TraceDispose(this, this.isDisposed, disposing);
     if (!this.isDisposed)
     {
         this.InternalDispose(disposing);
         this.isDisposed = true;
     }
 }
示例#5
0
 private void Dispose(bool disposing)
 {
     StorageGlobals.TraceDispose(this, this.isDisposed, disposing);
     if (!this.isDisposed)
     {
         this.isDisposed = true;
         this.InternalDispose(disposing);
         ExTraceGlobals.EventTracer.TraceDebug <EventSubscription>((long)this.GetHashCode(), "EventSubscription::Dispose. {0}", this);
     }
 }
示例#6
0
 private void Dispose(bool disposing)
 {
     StorageGlobals.TraceDispose(this, this.isDisposed, disposing);
     if (!this.isDisposed)
     {
         this.isDisposed = true;
         if (disposing)
         {
             this.folder.Dispose();
         }
     }
 }
示例#7
0
 private void Dispose(bool disposing)
 {
     StorageGlobals.TraceDispose(this, this.isDisposed, disposing);
     lock (this.disposeLock)
     {
         if (this.isDisposed)
         {
             return;
         }
         this.isDisposed = true;
     }
     this.InternalDispose(disposing);
 }
 private void InternalDispose(bool disposing)
 {
     StorageGlobals.TraceDispose(this, this.isDisposed, disposing);
     if (disposing)
     {
         if (!this.isDisposed)
         {
             this.entry.DecrementExternalRefCount();
         }
         if (this.disposeTracker != null)
         {
             this.disposeTracker.Dispose();
         }
     }
 }
 // Token: 0x06000FD2 RID: 4050 RVA: 0x00040C7C File Offset: 0x0003EE7C
 private void Dispose(bool disposing)
 {
     StorageGlobals.TraceDispose(this, this.disposed, disposing);
     if (!this.disposed)
     {
         this.disposed = true;
         if (this.disposeTracker != null)
         {
             this.disposeTracker.Dispose();
         }
         if (this.backendUserConfiguration != null)
         {
             this.backendUserConfiguration.Dispose();
             this.backendUserConfiguration = null;
         }
     }
 }