コード例 #1
0
 public RoomInfoController(IMediator mediator, IRoomInfoRepository roomRepository, PropertySettings settings, IIdentityService identityService)
 {
     _mediator        = mediator ?? throw new ArgumentNullException(nameof(mediator));
     _roomRepository  = roomRepository;
     _settings        = settings;
     _identityService = identityService;
 }
コード例 #2
0
 public RoomInfoService(IRoomInfoRepository roomInfoRepository, IMessageService messageService)
 {
     this.roomInfoRepository = roomInfoRepository;
     this.messageService     = messageService;
 }