コード例 #1
0
        public CurvePointService(ICurvePointRepository curvePointRepository,
                                 IMapper mapper)
        {
            _mapper = mapper ??
                      throw new ArgumentNullException(nameof(mapper));

            _curvePointRepository = curvePointRepository ??
                                    throw new ArgumentNullException(nameof(_curvePointRepository));
        }
コード例 #2
0
 public CurveService(ICurvePointRepository curvePointRepository, IMapper mapper)
 {
     _curveRepo = curvePointRepository;
     _mapper    = mapper;
 }