示例#1
0
 public RuleCheckingService(
     IRuleCheckService ruleCheckService,
     IWordDocumentService wordDocumentService)
 {
     _ruleCheckService    = ruleCheckService;
     _wordDocumentService = wordDocumentService;
 }
示例#2
0
 public ArtefactService(
     IRepositoryInt <DatasetElement> datasetElementRepository,
     IRepositoryInt <DatasetInstance> datasetInstanceRepository,
     IRepositoryInt <PatientClinicalEvent> patientClinicalEventRepository,
     IRepositoryInt <PatientMedication> patientMedicationRepository,
     IRepositoryInt <ReportInstance> reportInstanceRepository,
     ICustomAttributeService attributeService,
     IPatientService patientService,
     IWordDocumentService wordDocumentService)
 {
     _datasetElementRepository       = datasetElementRepository ?? throw new ArgumentNullException(nameof(datasetElementRepository));
     _datasetInstanceRepository      = datasetInstanceRepository ?? throw new ArgumentNullException(nameof(datasetInstanceRepository));
     _patientClinicalEventRepository = patientClinicalEventRepository ?? throw new ArgumentNullException(nameof(patientClinicalEventRepository));
     _patientMedicationRepository    = patientMedicationRepository ?? throw new ArgumentNullException(nameof(patientMedicationRepository));
     _reportInstanceRepository       = reportInstanceRepository ?? throw new ArgumentNullException(nameof(reportInstanceRepository));
     _attributeService    = attributeService ?? throw new ArgumentNullException(nameof(attributeService));
     _patientService      = patientService ?? throw new ArgumentNullException(nameof(patientService));
     _wordDocumentService = wordDocumentService ?? throw new ArgumentNullException(nameof(wordDocumentService));
 }