コード例 #1
0
 public ResourceService(IResourceRepository resourceRepository
                        , IResourceTypeRepository resourceTypeRepository
                        , IBasicCrudService crudService
                        , ILocationRepository locationRepository
                        , ILocalizedMessagesService localizedMessagesService)
 {
     _resourceRepository     = resourceRepository;
     _resourceTypeRepository = resourceTypeRepository;
     _crudService            = crudService;
     _locationRepository     = locationRepository;
     _localizedMessages      = localizedMessagesService;
 }
コード例 #2
0
 public StudentQuizesService(IQuizRepository quizRepository,
                             IQuestionRepository questionRepository,
                             IAnswerRepository answerRepository,
                             IStudentQuizResultRepository studentQuizResultRepository,
                             IBasicCrudService basicCrudService, IUserService userService,
                             ILocalizedMessagesService messagesService, IUserRepository userRepository)
 {
     _quizRepository              = quizRepository;
     _questionRepository          = questionRepository;
     _answerRepository            = answerRepository;
     _studentQuizResultRepository = studentQuizResultRepository;
     _basicCrudService            = basicCrudService;
     _userService     = userService;
     _messagesService = messagesService;
     _userRepository  = userRepository;
 }
コード例 #3
0
 public BasicCrudService(ILocalizedMessagesService localizedMessagesService)
 {
     _localizedMessagesService = localizedMessagesService;
 }