public AngebotService(IIdentityService identityService, ILoginService loginService, IThumbnailHelper thumbnailHelper) : base(identityService) { _loginService = loginService; _thumbnailHelper = thumbnailHelper; Barrel.ApplicationId = "nutzmich_monkeycache"; }
public ProfilEditPage() { this.InitializeComponent(); _profilService = Factory.GetProfilService(); _loginService = Factory.GetLoginService(); _thumbnailHelper = Factory.GetThumbnailHelper(); }
public static IThumbnailHelper GetThumbnailHelper() { if (_thumbnailHelper == null) { _thumbnailHelper = new ThumbnailHelper(); } return(_thumbnailHelper); }
public AngebotViewModel(Angebot angebot) { Verfuegbarkeit = Verfuegbarkeit.Unbekannt; VerfuegbarkeitsDetails = ""; VerfuegbarkeitsAmpel = new SolidColorBrush(Colors.Black); _thumbnailHelper = Factory.GetThumbnailHelper(); _profilService = Factory.GetProfilService(); Barrel.ApplicationId = "nutzmich_monkeycache"; SetIsNotLoading(); Angebot = angebot; Fotos = new ObservableCollection <AttachmentImageViewModel>(); Reservierungen = new ObservableCollection <ReservierungsZeitraumViewModel>(); }
public ProfilViewModel(Profil profil) { Profil = profil; _thumbnailHelper = Factory.GetThumbnailHelper(); }