/// <summary>Construct Public ESI interface</summary> public Public() : base() { Alliance = new AllianceMain(this); Character = new CharacterMain(this); Corporation = new CorporationMain(this); Dogma = new Dogma(this); FactionWarfare = new FactionWarfare(this); Incursions = new Incursions(this); Industry = new Industry(this); Insurance = new Insurance(this); Killmails = new Killmails(this); Loyalty = new Loyalty(this); Market = new Market(this); Opportunities = new Opportunities(this); PlanetaryInteraction = new PlanetaryInteraction(this); Routes = new Routes(this); Search = new Search(this); Sovereignty = new Sovereignty(this); Status = new Status(this); Universe = new Universe(this); Wars = new Wars(this); }
// ReSharper disable once InconsistentNaming private void initializeAPI() { Alliance = new Alliance(dataSource) { HTTP = http }; Assets = new Assets(dataSource) { HTTP = http }; Bookmarks = new Bookmarks(dataSource) { HTTP = http }; Calendar = new Calendar(dataSource) { HTTP = http }; Character = new Character(dataSource) { HTTP = http }; Clones = new Clones(dataSource) { HTTP = http }; Contacts = new Contacts(dataSource) { HTTP = http }; Contracts = new Contracts(dataSource) { HTTP = http }; Corporation = new Corporation(dataSource) { HTTP = http }; Dogma = new Dogma(dataSource) { HTTP = http }; FactionWarfare = new FactionWarfare(dataSource) { HTTP = http }; Fittings = new Fittings(dataSource) { HTTP = http }; Fleets = new Fleets(dataSource) { HTTP = http }; Incursion = new Incursions(dataSource) { HTTP = http }; Industry = new Industry(dataSource) { HTTP = http }; Insurance = new Insurance(dataSource) { HTTP = http }; Killmails = new Killmails(dataSource) { HTTP = http }; Location = new Location(dataSource) { HTTP = http }; Loyalty = new Loyalty(dataSource) { HTTP = http }; Mail = new Mail(dataSource) { HTTP = http }; Market = new Market(dataSource) { HTTP = http }; Opportunities = new Opportunities(dataSource) { HTTP = http }; PlanetaryInteraction = new PlanetaryInteraction(dataSource) { HTTP = http }; Routes = new Routes(dataSource) { HTTP = http }; Search = new Search(dataSource) { HTTP = http }; Skills = new Skills(dataSource) { HTTP = http }; Sovereignty = new Sovereignty(dataSource) { HTTP = http }; Status = new Status(dataSource) { HTTP = http }; Universe = new Universe(dataSource) { HTTP = http }; UserInterface = new UserInterface(dataSource) { HTTP = http }; Wallet = new Wallet(dataSource) { HTTP = http }; Wars = new Wars(dataSource) { HTTP = http }; }