コード例 #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 public StudentService(IStudentRepository repository,
                       IAllergyService allergyService, IAllergyRepository allergyRepository)
 {
     if (repository == null)
     {
         throw new ArgumentNullException("repository");
     }
     this.repository        = repository;
     this.allergyRepository = allergyRepository;
 }
コード例 #2
0
 public MedicalChartController(
     IMedicalChartService medicalChartService,
     IPatientService <PatientDTO> patientService,
     IAllergyService allergyService,
     IFileService fileService,
     ITreatmentHistoryService treatmentHistoryService,
     ITreatmentService <TreatmentDTO> treatmentService,
     IDentistService dentistService
     )
 {
     _medicalChartService     = medicalChartService;
     _patientService          = patientService;
     _allergyService          = allergyService;
     _fileService             = fileService;
     _treatmentHistoryService = treatmentHistoryService;
     _treatmentService        = treatmentService;
     _dentistService          = dentistService;
 }
コード例 #3
0
 public AllergyController(IAllergyService allergyService)
 {
     this.allergyService = allergyService;
 }
コード例 #4
0
 public AllergyRuleEngine(IAllergyService allergyService)
 {
     _allergyService = allergyService;
 }