コード例 #1
0
 public UsersController(IUserService userService,
                        IUserRoomService userRoomService,
                        IMapper mapper,
                        IOptions <AppSettings> appSettings)
 {
     _userService     = userService;
     _userRoomService = userRoomService;
     _mapper          = mapper;
     _appSettings     = appSettings.Value;
 }
コード例 #2
0
 public RollsController(
     IUserService userService,
     IRoomService roomService,
     IUserRoomService userRoomService,
     IRollService rollService,
     IRollValueService rollValueService,
     IHubContext <RoomHub> roomHub,
     IMapper mapper,
     IOptions <AppSettings> appSettings)
 {
     _userService      = userService;
     _roomService      = roomService;
     _userRoomService  = userRoomService;
     _rollService      = rollService;
     _rollValueService = rollValueService;
     _roomHub          = roomHub;
     _mapper           = mapper;
     _appSettings      = appSettings.Value;
 }
コード例 #3
0
 public LockController(IUserRoomService userRoomService)
 {
     _userRoomService = userRoomService;
 }
コード例 #4
0
 public UsersRoomsController(IUserRoomService userRoomService)
 {
     _userRoomService = userRoomService;
 }