Esempio n. 1
0
 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;
 }
Esempio n. 3
0
 public ReportAppService(IRecordAppService iRecordAppService)
 {
     this.iRecordAppService = iRecordAppService
                              ?? throw new ArgumentNullException(nameof(iRecordAppService));
 }
Esempio n. 4
0
 public ItemBaseOnHardwareController(IItemBaseOnHardwareAppService itemBaseOnHardwareAppService, IRecordAppService recordAppService, IItemAppService itemAppService)
 {
     _itemBaseOnHardwareAppService = itemBaseOnHardwareAppService;
     _recordAppService             = recordAppService;
     _itemAppService = itemAppService;
 }