示例#1
0
 public StudentDataService()
 {
     this._studentRepository     = (IStudentRepository)Mvx.get_IoCProvider().Resolve <IStudentRepository>();
     this._formteacherRepository = (IFormTeacherRepository)Mvx.get_IoCProvider().Resolve <IFormTeacherRepository>();
     this._tutelaryRepository    = (ITutelaryRepository)Mvx.get_IoCProvider().Resolve <ITutelaryRepository>();
     this._secureStore           = (ISecureStore)Mvx.get_IoCProvider().Resolve <ISecureStore>();
     this._mobileApi             = (IMobileApi)Mvx.get_IoCProvider().Resolve <IMobileApi>();
 }
示例#2
0
 public FormTeacherDataService()
 {
     this._formTeacherRepository = (IFormTeacherRepository)Mvx.get_IoCProvider().Resolve <IFormTeacherRepository>();
 }