public GroupedItemsPage() { App42API.Initialize(Constant.apiKey, Constant.secretKey); DISPATCHER.Initialize(); this.InitializeComponent(); this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += navigationHelper_LoadState; }
public App42StorageService() { storageService = App42API.BuildStorageService(); if (Constant.sessionId != null && Constant.sessionId != "") { storageService.SetSessionId(Constant.sessionId); } if (Constant.adminKey != null && Constant.adminKey != "") { storageService.SetAdminKey(Constant.adminKey); } this.InitializeComponent(); this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += navigationHelper_LoadState; }
public App42RewardService() { rewardName = "Golden Reward" + DateTime.Now.Millisecond; rewardService = App42API.BuildRewardService(); if (Constant.sessionId != null && Constant.sessionId != "") { rewardService.SetSessionId(Constant.sessionId); } if (Constant.adminKey != null && Constant.adminKey != "") { rewardService.SetAdminKey(Constant.adminKey); } this.InitializeComponent(); this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += navigationHelper_LoadState; }
public App42UserService() { userService = App42API.BuildUserService(); if (Constant.sessionId != null && Constant.sessionId != "") { userService.SetSessionId(Constant.sessionId); } if (Constant.adminKey != null && Constant.adminKey != "") { userService.SetAdminKey(Constant.adminKey); } userName = Constant.userName; password = "******"; this.InitializeComponent(); this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += navigationHelper_LoadState; }