public TopChampionMasteryRequest(Region region, long summonerId, int limit = 1) { this.region = RegionUtility.RegionToString(region); platformId = RegionUtility.RegionToPlatformId(region); this.summonerId = summonerId; this.limit = limit; }
// GET: Home public ActionResult Index(string error = "") { HomePageViewModel viewModel = new HomePageViewModel() { Error = error, AvailableRegions = new SelectList(RegionUtility.AllRegionsWithNames(), "value", "key") }; return(View(viewModel)); }
private TabClientProxy CreateProxy(object view) { var proxy = new TabClientProxy { Content = view, CommonData = RegionUtility.GetInterfaceFromView <ICommonData>(view) }; this.itemToTabClientMapping.Add(view, proxy); return(proxy); }
public RecentGamesRequest(Region region, long summonerId) { this.region = RegionUtility.RegionToString(region); this.summonerId = summonerId; }
public GetSummonerByNameRequest(Region region, string summonerName) { this.region = RegionUtility.RegionToString(region); this.summonerName = summonerName; }
public GameVersionsRequest(Region region) { this.region = RegionUtility.RegionToString(region); }
public GetSummonerRequest(Region region, long summonerId) { this.region = RegionUtility.RegionToString(region); this.summonerId = summonerId; }
public AllChampionsRequest(Region region) { this.region = RegionUtility.RegionToString(region); }