Пример #1
0
        protected internal DataManagerService(IStudentDataService studentService, ICourseDataService courseService,
									IEnrollmentDataService enrollmentService)
        {
            this.studentService = studentService;
            this.courseService = courseService;
            this.enrollmentService = enrollmentService;
        }
Пример #2
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;
 }
 public StudentBusinessService(IStudentDataService dataService, IMapper mapper, ITemplateBusinessService templateBusinessService, ICacheProvider cacheProvider)
 {
     _dataService             = dataService;
     _mapper                  = mapper;
     _templateBusinessService = templateBusinessService;
     _cacheProvider           = cacheProvider;
 }
Пример #4
0
        public Individual(IStudentDataService <int> studentDataService)
        {
            _studentDataService = studentDataService;

            Chromosome = new Chromosome(studentDataService.MaxNumberOfTimeSlots);
            _tabuGenes = new List <int>();
        }
Пример #5
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>();
 }
 public CoursesController(SchoolContext db, ICourseDataService courseService, IDepartmentDataService departmentService, IStudentDataService studentService)
 {
     this.db                = db;
     this.courseService     = courseService;
     this.departmentService = departmentService;
     this.studentService    = studentService;
 }
 public ProfilesViewModel(
     IMvxMessenger messenger,
     IPlatformStyleProvider platformStyleProvider,
     IRefreshDataService refreshDataService,
     IStudentDataService studentDataService,
     IAuthDataService authDataService)
 {
     this._messenger             = messenger;
     this._platformStyleProvider = platformStyleProvider;
     this._refreshDataService    = refreshDataService;
     this._studentDataService    = studentDataService;
     this._authDataService       = authDataService;
 }
 public RefreshDataService()
 {
     this._profileDataService        = (IProfileDataService)Mvx.get_IoCProvider().Resolve <IProfileDataService>();
     this._absenceDataService        = (IAbsenceDataService)Mvx.get_IoCProvider().Resolve <IAbsenceDataService>();
     this._evaluationDataService     = (IEvaluationDataService)Mvx.get_IoCProvider().Resolve <IEvaluationDataService>();
     this._noteDataService           = (INoteDataService)Mvx.get_IoCProvider().Resolve <INoteDataService>();
     this._lessonDataService         = (ILessonDataService)Mvx.get_IoCProvider().Resolve <ILessonDataService>();
     this._eventDataService          = (IEventDataService)Mvx.get_IoCProvider().Resolve <IEventDataService>();
     this._subjectAverageDataService = (ISubjectAverageDataService)Mvx.get_IoCProvider().Resolve <ISubjectAverageDataService>();
     this._studentDataService        = (IStudentDataService)Mvx.get_IoCProvider().Resolve <IStudentDataService>();
     this._uzenetDataService         = (IUzenetDataService)Mvx.get_IoCProvider().Resolve <IUzenetDataService>();
     this._examDataService           = (IExamDataService)Mvx.get_IoCProvider().Resolve <IExamDataService>();
     this._mobileApi       = (IMobileApi)Mvx.get_IoCProvider().Resolve <IMobileApi>();
     this._globalMobileApi = (IGlobalMobileApi)Mvx.get_IoCProvider().Resolve <IGlobalMobileApi>();
     this._messenger       = (IMvxMessenger)Mvx.get_IoCProvider().Resolve <IMvxMessenger>();
 }
Пример #9
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>();
 }
 //private static readonly SimpleDataManagerService _dataService = new SimpleDataManagerService(_studentService, _courseService, _enrollmentService);
 private SimpleDataManagerService(IStudentDataService studentService, ICourseDataService courseService, IEnrollmentDataService enrollmentService)
     : base(studentService, courseService, enrollmentService)
 {
 }
Пример #11
0
 public StudentBusinessService(IStudentDataService studentDataService)
 {
     _studentDataService = studentDataService;
 }
 public void SetUp()
 {
     studentDataService = MockRepository.GenerateMock<IStudentDataService>();
     studentService = new StudentService(studentDataService);
 }
Пример #13
0
 public StudentController(IStudentDataService studentService)
 {
     _studentService = studentService;
 }
 public SignupService(IStudentDataService studentData, ICourseDataService courseData, ITeacherDataService teacherData)
 {
     _studentData = studentData;
     _courseData  = courseData;
     _teacherData = teacherData;
 }
 public StudentService(IStudentDataService studentDataService = null)
 {
     if(studentDataService == null)
         studentDataService = DAOFactoryMethod.CurrentDAOFactory.StudentDataService;
     this.studentDataService = studentDataService;
 }
 public StudentBusinessService(IStudentDataService dataService, IMapper mapper)
 {
     _dataService = dataService;
     _mapper      = mapper;
 }
 public StudentsController(SchoolContext context, IStudentDataService studentService, IPictureDataService pictureService)
 {
     this.context        = context;
     this.studentService = studentService;
     this.pictureService = pictureService;
 }
Пример #18
0
 public FormTeacherViewModel(IMessaging messaging, IStudentDataService studentDataService)
 {
     this._messaging          = messaging;
     this._studentDataService = studentDataService;
 }
Пример #19
0
 public EnvironmentService(IStudentDataService <int> studentDataService, IPopulationFactory populationFactory)
 {
     _studentDataService = studentDataService;
     _populationFactory  = populationFactory;
 }
 public StudentsController(SchoolContext db, IStudentDataService studentService, IPictureDataService pictureService)
 {
     this.db             = db;
     this.studentService = studentService;
     this.pictureService = pictureService;
 }