Inheritance: Windows.UI.Xaml.DependencyObject
コード例 #1
0
 public GroupedItemsPage()
 {
     App42API.Initialize(Constant.apiKey, Constant.secretKey);
     DISPATCHER.Initialize();
     this.InitializeComponent();
     this.navigationHelper = new NavigationHelper(this);
     this.navigationHelper.LoadState += navigationHelper_LoadState;
 }
コード例 #2
0
 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;
 }
コード例 #3
0
 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;
 }
コード例 #4
0
 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;
 }