private void InitializeEndpoints(IStaticEndpointProvider staticEndpointProvider)
 {
     this.Champion      = staticEndpointProvider.GetEndpoint <IStaticChampionEndpoint>();
     this.Item          = staticEndpointProvider.GetEndpoint <IStaticItemEndpoint>();
     this.Language      = staticEndpointProvider.GetEndpoint <IStaticLanguageEndpoint>();
     this.Map           = staticEndpointProvider.GetEndpoint <IStaticMapEndpoint>();
     this.Mastery       = staticEndpointProvider.GetEndpoint <IStaticMasteryEndpoint>();
     this.ProfileIcon   = staticEndpointProvider.GetEndpoint <IStaticProfileIconEndpoint>();
     this.Realm         = staticEndpointProvider.GetEndpoint <IStaticRealmEndpoint>();
     this.Rune          = staticEndpointProvider.GetEndpoint <IStaticRuneEndpoint>();
     this.SummonerSpell = staticEndpointProvider.GetEndpoint <IStaticSummonerSpellEndpoint>();
     this.Version       = staticEndpointProvider.GetEndpoint <IStaticVersionEndpoint>();
 }
Ejemplo n.º 2
0
 private void InitializeEndpoints(IStaticEndpointProvider staticEndpointProvider)
 {
     Champions      = staticEndpointProvider.GetEndpoint <IStaticChampionEndpoint>();
     Items          = staticEndpointProvider.GetEndpoint <IStaticItemEndpoint>();
     Languages      = staticEndpointProvider.GetEndpoint <IStaticLanguageEndpoint>();
     Maps           = staticEndpointProvider.GetEndpoint <IStaticMapEndpoint>();
     Masteries      = staticEndpointProvider.GetEndpoint <IStaticMasteryEndpoint>();
     ProfileIcons   = staticEndpointProvider.GetEndpoint <IStaticProfileIconEndpoint>();
     Realms         = staticEndpointProvider.GetEndpoint <IStaticRealmEndpoint>();
     ReforgedRunes  = staticEndpointProvider.GetEndpoint <IStaticReforgedRuneEndpoint>();
     Runes          = staticEndpointProvider.GetEndpoint <IStaticRuneEndpoint>();
     SummonerSpells = staticEndpointProvider.GetEndpoint <IStaticSummonerSpellEndpoint>();
     Versions       = staticEndpointProvider.GetEndpoint <IStaticVersionEndpoint>();
     TarballLinks   = staticEndpointProvider.GetEndpoint <IStaticTarballLinkEndPoint>();
 }