コード例 #1
0
 public LessonDomainService(IPupilDao pupilDao, ISheduleService sheduleService)
 {
     _pupilDao       = pupilDao ?? throw new ArgumentNullException(nameof(pupilDao));
     _sheduleService = sheduleService ?? throw new ArgumentNullException(nameof(sheduleService));
 }
コード例 #2
0
 public SheduleController(ISheduleService sheduleService, IUserService userService)
 {
     _sheduleService = sheduleService;
     _userService    = userService;
 }
コード例 #3
0
 public SheduleController(ISheduleService sheduleService, IComplexService complexService)
 {
     this.sheduleService = sheduleService;
     this.complexService = complexService;
 }