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, } }
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; } } }