Esempio n. 1
0
 // 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);
 }
Esempio n. 2
0
        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;
            }
        }