示例#1
0
        public MenuViewModel(IAccountStorage accountStorage, ICurrentUser currentUser, IArtportalenService artportalenService)
        {
            _accountStorage = accountStorage;
            _artportalenService = artportalenService;
            CurrentUser = currentUser;
            Title = "Meny";

            IsConnectedArtportalen = _artportalenService.HasAccount;
            IsNotConnectedArtportalen = !_artportalenService.HasAccount;
        }
示例#2
0
        public MenuViewModel(IAccountStorage accountStorage, ICurrentUser currentUser, IArtportalenService artportalenService)
        {
            _accountStorage     = accountStorage;
            _artportalenService = artportalenService;
            CurrentUser         = currentUser;
            Title = "Meny";

            IsConnectedArtportalen    = _artportalenService.HasAccount;
            IsNotConnectedArtportalen = !_artportalenService.HasAccount;
        }
示例#3
0
 public SiteService(IGeolocator geolocator, ISiteStorage siteStorage, IArtportalenService artportalenService)
 {
     _geolocator         = geolocator;
     _siteStorage        = siteStorage;
     _artportalenService = artportalenService;
 }
示例#4
0
 public ArtportalenLogInViewModel(IArtportalenService artportalenService)
 {
     _artportalenService = artportalenService;
 }
 public ArtportalenLogInViewModel(IArtportalenService artportalenService)
 {
     _artportalenService = artportalenService;
 }
示例#6
0
 public SiteService(IGeolocator geolocator, ISiteStorage siteStorage, IArtportalenService artportalenService)
 {
     _geolocator = geolocator;
     _siteStorage = siteStorage;
     _artportalenService = artportalenService;
 }