示例#1
0
        public SingUpViewModel(INavigationService navigationService, UserAsyncRepository userRepository)
        {
            _navigationService = navigationService;
            _userRepository    = userRepository;

            SingUpTapCommand = new Command(SingUpTap, SingUpAllowed);
        }
示例#2
0
        public SingInViewModel(INavigationService navigationService, UserAsyncRepository repository)
        {
            _navigationService = navigationService;
            _userRepository    = repository;

            SingInTapCommand       = new Command(SingInTap, SingInAllowed);
            ToSingUpPageTapCommand = new Command(ToSingUpPageTap);
        }
示例#3
0
        public AddEditProfileViewModel(INavigationService navigationService, ProfileAsyncRepository profileRepository, UserAsyncRepository userRepository)
        {
            _navigationService = navigationService;
            _profileRepository = profileRepository;
            _userRepository    = userRepository;

            Saved            = false;
            FirstOnAppearing = true;
            ImagePath        = "profile.png";
        }
 public MainListViewModel(INavigationService navigationService, ProfileAsyncRepository profileRepository, UserAsyncRepository userRepository)
 {
     _navigationService = navigationService;
     _profileRepository = profileRepository;
     _userRepository    = userRepository;
 }