예제 #1
0
 public MasterViewModel(
     IMvxMessenger messenger,
     ISecurityService securityService,
     IWebNavigation webNavigation,
     ISystemInfo systemInfo,
     IAppVersionService appVersionService,
     IStudentDataService studentDataService,
     IRefreshDataService refreshDataService,
     IAbsenceDataService absenceDataService,
     IEvaluationDataService evaluationDataService,
     IEventDataService eventDataService,
     ILessonDataService lessonDataService,
     INoteDataService noteDataService,
     IUzenetDataService uzenetDataService,
     IExamDataService examDataService)
 {
     this._messenger             = messenger;
     this._securityService       = securityService;
     this._webNavigation         = webNavigation;
     this._systemInfo            = systemInfo;
     this._appVersionService     = appVersionService;
     this._studentDataService    = studentDataService;
     this._refreshDataService    = refreshDataService;
     this._absenceDataService    = absenceDataService;
     this._evaluationDataService = evaluationDataService;
     this._eventDataService      = eventDataService;
     this._lessonDataService     = lessonDataService;
     this._noteDataService       = noteDataService;
     this._uzenetDataService     = uzenetDataService;
     this._examDataService       = examDataService;
 }
예제 #2
0
 public MailService()
 {
     this._textProvider        = (IMvxTextProvider)Mvx.get_IoCProvider().Resolve <IMvxTextProvider>();
     this._deviceSpecification = (IDeviceSpecification)Mvx.get_IoCProvider().Resolve <IDeviceSpecification>();
     this._studentDataService  = (IStudentDataService)Mvx.get_IoCProvider().Resolve <IStudentDataService>();
     this._webNavigation       = (IWebNavigation)Mvx.get_IoCProvider().Resolve <IWebNavigation>();
 }
예제 #3
0
 public NeedUpdateViewModel(
     ISystemInfo systemInfo,
     IWebNavigation webNvigation,
     IAppVersionService appVersionService)
 {
     this._systemInfo        = systemInfo;
     this._webNavigation     = webNvigation;
     this._appVersionService = appVersionService;
 }
 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;
 }
예제 #5
0
 public LoginViewModel(
     IMvxMessenger messenger,
     IWebNavigation webNavigation,
     IAppVersionService appVersionService,
     IRefreshDataService refreshDataService,
     IAuthDataService authDataService,
     IPlatformStyleProvider platformStyleProvider,
     ICredentialsDataService credentialsDataService)
     : base(messenger, webNavigation, appVersionService, refreshDataService, authDataService, platformStyleProvider, credentialsDataService)
 {
 }
예제 #6
0
 public NewProfileViewModel(
     IMvxMessenger messenger,
     IWebNavigation webNavigation,
     IAppVersionService appVersionService,
     IRefreshDataService refreshDataService,
     IAuthDataService authDataService,
     IPlatformStyleProvider platformStyleProvider,
     ICredentialsDataService credentialsDataService)
 {
     this._messenger              = messenger;
     this._webNavigation          = webNavigation;
     this._appVersionService      = appVersionService;
     this._refreshDataService     = refreshDataService;
     this._platformStyleProvider  = platformStyleProvider;
     this._credentialsDataService = credentialsDataService;
     this._authDataService        = authDataService;
 }