Ejemplo n.º 1
0
        public DataServiceFacade(IConfiguration configuration)
        {
            var connStr = configuration.GetSection("connectionString").Value;

            BookmarkingDS = new BookmarkingDataService(connStr);
            RatingDS      = new RatingDataService(connStr);
            UsersDS       = new UsersDataService(connStr);
            SearchDS      = new SearchDataService(connStr);
        }
 public RatingPopupViewModel()
 {
     this._ratingDataService = (IRatingDataService)Mvx.get_IoCProvider().GetSingleton <IRatingDataService>();
     this._mailService       = (IMailService)Mvx.get_IoCProvider().GetSingleton <IMailService>();
     this._webNavigation     = (IWebNavigation)Mvx.get_IoCProvider().Resolve <IWebNavigation>();
     this._appVersionService = (IAppVersionService)Mvx.get_IoCProvider().GetSingleton <IAppVersionService>();
     this._rating            = this._ratingDataService.GetRatingByProfile(this._profileDataService.GetActiveProfile());
     this.SensitiveData      = false;
 }
Ejemplo n.º 3
0
 public ModalDialog()
 {
     this._ratingDataService          = (IRatingDataService)Mvx.get_IoCProvider().Resolve <IRatingDataService>();
     this._textProvider               = (IMvxTextProvider)Mvx.get_IoCProvider().Resolve <IMvxTextProvider>();
     this._packageInfo                = (IPackageInfo)Mvx.get_IoCProvider().Resolve <IPackageInfo>();
     this._messenger                  = (IMvxMessenger)Mvx.get_IoCProvider().Resolve <IMvxMessenger>();
     this._profileDataService         = (IProfileDataService)Mvx.get_IoCProvider().Resolve <IProfileDataService>();
     this._remoteConfigurationService = (IFirebaseRemoteConfigurationService)Mvx.get_IoCProvider().Resolve <IFirebaseRemoteConfigurationService>();
     this._messenger.Subscribe <RatingChooserMessage>((Action <M0>)(async message => await this.RatingChooserMessageHandler(message.Message)), (MvxReference)1, (string)null);
 }
 public RootContentViewModel(
     IRefreshDataService refreshDataService,
     IMvxMessenger messenger,
     IPushNotificationService pushNotificationService,
     ISettingsDataService settingsDataService,
     IAbsenceDataService absenceDataService,
     IAbsenceDbDataService absenceDbDataService,
     IEvaluationDataService evaluationDataService,
     IEvaluationDbDataService evaluationDbDataService,
     IEventDataService eventDataService,
     IExamDataService examDataService,
     IExamDbDataService examDbDataService,
     INoteDataService noteDataService,
     INoteDbDataService noteDbDataService,
     ILessonDataService lessonDataService,
     ILessonDbDataService lessonDbDataService,
     IUzenetDataService uzenetDataService,
     IRatingDataService ratingDataService,
     IPushNotificationPlatformSpecificService pushNotificationPlatformSpecificService,
     IFirebaseAnalytics firebaseAnalytics,
     IFirebaseRemoteConfigurationService remoteConfigurationService)
 {
     this._refreshDataService      = refreshDataService;
     this._messenger               = messenger;
     this._pushNotificationService = pushNotificationService;
     this._settingsDataService     = settingsDataService;
     this._absenceDataService      = absenceDataService;
     this._absenceDbDataService    = absenceDbDataService;
     this._evaluationDataService   = evaluationDataService;
     this._evaluationDbDataService = evaluationDbDataService;
     this._eventDataService        = eventDataService;
     this._examDataService         = examDataService;
     this._examDbDataService       = examDbDataService;
     this._noteDataService         = noteDataService;
     this._noteDbDataService       = noteDbDataService;
     this._lessonDataService       = lessonDataService;
     this._lessonDbDataService     = lessonDbDataService;
     this._uzenetDataService       = uzenetDataService;
     this._pushNotificationPlatformSpecificService = pushNotificationPlatformSpecificService;
     this._firebaseAnalytics          = firebaseAnalytics;
     this._ratingDataService          = ratingDataService;
     this._remoteConfigurationService = remoteConfigurationService;
 }