Beispiel #1
0
        private UserInfo GetUserFromStorageUser(StorageUserInfo storageUser)
        {
            var user        = _mapper.Map <UserInfo>(storageUser);
            var maybeLocale = _localeService.GetLocale(storageUser.LocaleId);

            if (maybeLocale.Success)
            {
                user.Locale = maybeLocale.Value;
            }

            return(user);
        }
Beispiel #2
0
 public void Refreshe()
 {
     _storageUserInfo = StorageManager.Inst.GetStorage <StorageUserInfo>();
 }
Beispiel #3
0
 public void Init()
 {
     _storageUserInfo = StorageManager.Inst.GetStorage <StorageUserInfo>();
     //EventDispatcher.AddEventListener<string, string>(StorageAccountInfo.StorageAccountInfo_Change_AppVersion, OnAppVersionChange);
 }