// Constructor public ExtensionsContainer(Account account) { Fights = new FightsExtension(account); Bid = new BidExtension(account); Roleplay = new RoleplayExtension(account); Flood = new FloodExtension(account); CharacterCreation = new CharacterCreatorExtension(account); }
protected virtual void Dispose(bool disposing) { if (!_disposedValue) { if (disposing) { Fights.Dispose(); Bid.Dispose(); Roleplay.Dispose(); Flood.Dispose(); CharacterCreation.Dispose(); } Fights = null; Bid = null; Roleplay = null; Flood = null; CharacterCreation = null; _disposedValue = true; } }