public VkontakteLoginViewModel(
     INavigationService navigationService,
     AppSettings appSettings,
     UsersRestService usersRestService)
     : base(navigationService, appSettings, usersRestService)
 {
 }
 public FacebookLoginViewModel(
     INavigationService navigationService, 
     AppSettings appSettings, 
     UsersRestService usersRestService)
     : base(navigationService, appSettings, usersRestService)
 {     
 }
 public UserProfileActivityViewModel(UsersRestService usersRestService, INavigationService navigationService, AppSettings appSettings)
 {
     this.usersRestService = usersRestService;
     this.navigationService = navigationService;
     this.appSettings = appSettings;
     DisplayName = AppResources.Profile_Activity;
 }
        public UserProfileQuestionsViewModel(UsersRestService usersRestService, AppSettings appSettings, INavigationService navigationService)
            :base(navigationService)
        {
            this.appSettings = appSettings;
            DisplayName = AppResources.Profile_Questions;

            this.LoadQuery = async (skip, take) =>
            {
                if (Me)
                {
                    return await usersRestService.QuestionsMe(skip, take);
                }
                else
                {
                    return await usersRestService.Questions(UserId, skip, take);
                }
            };
        }
Beispiel #5
0
 public PushSharpClient(UsersRestService usersRestService)
 {
     this.usersRestService = usersRestService;
 }
 public UserProfileInfoViewModel(UsersRestService usersRestService, AppSettings appSettings)
 {
     this.usersRestService = usersRestService;
     this.appSettings = appSettings;
     DisplayName = AppResources.Profile_Info;
 }
Beispiel #7
0
 public AuthViewModelBase(INavigationService navigationService, AppSettings appSettings, UsersRestService usersRestService)
 {
     this.NavigationService = navigationService;
     this.AppSettings = appSettings;
     this.usersRestService = usersRestService;
 }