Beispiel #1
0
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (Settings != null)
         {
             Settings.Dispose();
             Settings = null;
         }
     }
 }
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         // dispose managed resources
         if (Settings != null)
         {
             Settings.Dispose();
             Settings = null;
         }
         // Dispose remaining objects,
     }
 }
Beispiel #3
0
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         // dispose managed resources
         if (Settings != null)
         {
             Settings.Dispose();
             Settings = null;
         }
         // Dispose remaining objects,
         if (Authenticator != null)
         {
             Authenticator.Dispose();
             Authenticator = null;
         }
         if (Character != null)
         {
             Character.Dispose();
             Character = null;
         }
     }
 }