public StudentHomeWorkDbDataService()
 {
     this._studentHomeWorkRepository = (IStudentHomeWorkDbRepository)Mvx.get_IoCProvider().Resolve <IStudentHomeWorkDbRepository>();
     this._lessonDataService         = (ILessonDbDataService)Mvx.get_IoCProvider().Resolve <ILessonDbDataService>();
     this._secureStore = (ISecureStore)Mvx.get_IoCProvider().Resolve <ISecureStore>();
     this._mobileApi   = (IDbMobileApi)Mvx.get_IoCProvider().Resolve <IDbMobileApi>();
 }
示例#2
0
 public StudentDbDataService()
 {
     this._studentRepository     = (IStudentDbRepository)Mvx.get_IoCProvider().Resolve <IStudentDbRepository>();
     this._formteacherRepository = (IFormTeacherDbRepository)Mvx.get_IoCProvider().Resolve <IFormTeacherDbRepository>();
     this._tutelaryRepository    = (ITutelaryDbRepository)Mvx.get_IoCProvider().Resolve <ITutelaryDbRepository>();
     this._secureStore           = (ISecureStore)Mvx.get_IoCProvider().Resolve <ISecureStore>();
     this._mobileApi             = (IDbMobileApi)Mvx.get_IoCProvider().Resolve <IDbMobileApi>();
 }
 public AuthDbMessageHandler(
     IDbMobileApi mobileApi,
     ISecureStore secureStore,
     ProfileRealm profile,
     HttpMessageHandler handler)
     : base(handler)
 {
     this._mobileApi           = mobileApi;
     this._secureStore         = secureStore;
     this._profile             = profile;
     this._tokenInfoRepository = (ITokenInfoDbRepository)Mvx.get_IoCProvider().Resolve <ITokenInfoDbRepository>();
 }
示例#4
0
 public AuthDbDataService()
 {
     this._mobileApi                  = (IDbMobileApi)Mvx.get_IoCProvider().Resolve <IDbMobileApi>();
     this._tokenValidator             = (ITokenValidatorDb)Mvx.get_IoCProvider().Resolve <ITokenValidatorDb>();
     this._messenger                  = (IMvxMessenger)Mvx.get_IoCProvider().Resolve <IMvxMessenger>();
     this._secureStore                = (ISecureStore)Mvx.get_IoCProvider().Resolve <ISecureStore>();
     this._profileDataService         = (IProfileDbDataService)Mvx.get_IoCProvider().Resolve <IProfileDbDataService>();
     this._absenceDataService         = (IAbsenceDbDataService)Mvx.get_IoCProvider().Resolve <IAbsenceDbDataService>();
     this._evaluationDataService      = (IEvaluationDataService)Mvx.get_IoCProvider().Resolve <IEvaluationDataService>();
     this._noteDataService            = (INoteDbDataService)Mvx.get_IoCProvider().Resolve <INoteDbDataService>();
     this._lessonDataService          = (ILessonDataService)Mvx.get_IoCProvider().Resolve <ILessonDataService>();
     this._subjectAverageDataService  = (ISubjectAverageDataService)Mvx.get_IoCProvider().Resolve <ISubjectAverageDataService>();
     this._studentDataService         = (IStudentDataService)Mvx.get_IoCProvider().Resolve <IStudentDataService>();
     this._eventDataService           = (IEventDataService)Mvx.get_IoCProvider().Resolve <IEventDataService>();
     this._teacherHomeWorkDataService = (ITeacherHomeWorkDataService)Mvx.get_IoCProvider().Resolve <ITeacherHomeWorkDataService>();
     this._studentHomeWorkDataService = (IStudentHomeWorkDataService)Mvx.get_IoCProvider().Resolve <IStudentHomeWorkDataService>();
     this._cacheDataService           = (ICacheDataService)Mvx.get_IoCProvider().Resolve <ICacheDataService>();
     this._uzenetDataService          = (IUzenetDataService)Mvx.get_IoCProvider().Resolve <IUzenetDataService>();
     this._examDataService            = (IExamDataService)Mvx.get_IoCProvider().Resolve <IExamDataService>();
     this._instituteDataService       = (IInstituteDataService)Mvx.get_IoCProvider().Resolve <IInstituteDataService>();
 }
示例#5
0
 public TeacherHomeWorkDbDataService()
 {
     this._teacherHomeWorkRepository = (ITeacherHomeWorkDbRepository)Mvx.get_IoCProvider().Resolve <ITeacherHomeWorkDbRepository>();
     this._secureStore = (ISecureStore)Mvx.get_IoCProvider().Resolve <ISecureStore>();
     this._mobileApi   = (IDbMobileApi)Mvx.get_IoCProvider().Resolve <IDbMobileApi>();
 }
示例#6
0
 public SubjectAverageDbDataService()
 {
     this._dbMobileApi = (IDbMobileApi)Mvx.get_IoCProvider().Resolve <IDbMobileApi>();
     this._subjectAverageRepository = (ISubjectAverageDbRepository)Mvx.get_IoCProvider().Resolve <ISubjectAverageDbRepository>();
 }
 public ExamDbDataService()
 {
     this._examRepository      = (IExamDbRepository)Mvx.get_IoCProvider().Resolve <IExamDbRepository>();
     this._settingsDataService = (ISettingsDbDataService)Mvx.get_IoCProvider().Resolve <ISettingsDbDataService>();
     this._mobileApi           = (IDbMobileApi)Mvx.get_IoCProvider().Resolve <IDbMobileApi>();
 }