Exemple #1
0
        public MainPageViewModel(
            INavigationService navigationService,
            ISocialNetworkService socialNetworkService,
            ILog log)
        {
            Log = log;
            NavigationService    = navigationService;
            SocialNetworkService = socialNetworkService;

            if (SocialNetworkService.IsLogged())
            {
                Login();
            }
        }