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 EmotionController(IEmotionAppService iEmotionAppService, IEmotionMapper iEmotionMapper) { this.iEmotionAppService = iEmotionAppService ?? throw new ArgumentNullException(nameof(iEmotionAppService)); this.iEmotionMapper = iEmotionMapper ?? throw new ArgumentNullException(nameof(iEmotionMapper)); }
public FaceMapper( IBoxMapper boxMapper, IEmotionMapper emotionMapper, ILandmarkMapper landmarkMapper) { _boxMapper = boxMapper; _emotionMapper = emotionMapper; _landmarkMapper = landmarkMapper; }
public EmotionRepository(IOptionsMonitor <AzureTableOptions> options, IEmotionMapper iEmotionMapper) : base(iEmotionMapper, options) { }