Ejemplo n.º 1
0
 /// <summary>
 /// Releases unmanaged and - optionally - managed resources
 /// </summary>
 /// <param name="disposing"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
 protected virtual void Dispose(bool disposing)
 {
     lock (this)
     {
         if (disposing)
         {
             _manager.Dispose();
         }
     }
 }
 /// <summary>
 /// Releases unmanaged and - optionally - managed resources
 /// </summary>
 /// <param name="disposing"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
 private void Dispose(bool disposing)
 {
     lock (this)
     {
         if (disposing)
         {
             _achievementManager.Dispose();
             _communityService.Dispose();
         }
     }
 }
 protected virtual void Dispose(bool disposing)
 {
     lock (this)
     {
         if (disposing)
         {
             _achievementManager.Dispose();
             _communityService.Dispose();
         }
     }
 }
 protected override void DisposeManaged()
 {
     _manager.Dispose();
 }
 protected override void DisposeManaged()
 {
     _achievementManager.Dispose();
     _communityService.Dispose();
 }
Ejemplo n.º 6
0
 public void Dispose()
 {
     _achievementManager.Dispose();
     _communityService.Dispose();
 }