public PersonController(IPersonAppService iPersonAppService,
                         IRecordAppService iRecordAppService,
                         IFaceAppService iFaceAppService,
                         IEmotionAppService iEmotionAppService,
                         IReportAppService iReportAppService,
                         IPersonMapper iPersonMapper,
                         IRecordMapper iRecordMapper,
                         IEmotionMapper iEmotionMapper,
                         IReportMapper iReportMapper)
 {
     this.iPersonAppService = iPersonAppService ??
                              throw new ArgumentNullException(nameof(iPersonAppService));
     this.iRecordAppService = iRecordAppService ??
                              throw new ArgumentNullException(nameof(iRecordAppService));
     this.iFaceAppService = iFaceAppService ??
                            throw new ArgumentNullException(nameof(iFaceAppService));
     this.iEmotionAppService = iEmotionAppService ??
                               throw new ArgumentNullException(nameof(iEmotionAppService));
     this.iReportAppService = iReportAppService ??
                              throw new ArgumentNullException(nameof(iReportAppService));
     this.iPersonMapper = iPersonMapper ??
                          throw new ArgumentNullException(nameof(iPersonMapper));
     this.iRecordMapper = iRecordMapper ??
                          throw new ArgumentNullException(nameof(iRecordMapper));
     this.iEmotionMapper = iEmotionMapper ??
                           throw new ArgumentNullException(nameof(iEmotionMapper));
     this.iReportMapper = iReportMapper ??
                          throw new ArgumentNullException(nameof(iReportMapper));
 }
 public RecordsController(IRecordAppService recordService,
                          IToastNotification toastNotification,
                          INotifier notifier) : base(notifier, toastNotification)
 {
     _recordService = recordService;
 }
 public ReportAppService(IRecordAppService iRecordAppService)
 {
     this.iRecordAppService = iRecordAppService
                              ?? throw new ArgumentNullException(nameof(iRecordAppService));
 }
Beispiel #4
0
 public ItemBaseOnHardwareController(IItemBaseOnHardwareAppService itemBaseOnHardwareAppService, IRecordAppService recordAppService, IItemAppService itemAppService)
 {
     _itemBaseOnHardwareAppService = itemBaseOnHardwareAppService;
     _recordAppService             = recordAppService;
     _itemAppService = itemAppService;
 }