Пример #1
0
 public RoomRepository(IRoomStorage roomStorage)
 {
     _storage = roomStorage;
 }
Пример #2
0
 public RoomLogic(IRoomStorage clientStorage)
 {
     _roomStorage = clientStorage;
 }
Пример #3
0
 public ChatController(IRoomStorage rooms)
 {
     //this.messageStorage = messageStorage;
     this.rooms = rooms;
 }
Пример #4
0
 public GameHub(ICurrentUserAccessor currentUserAccessor, IRoomStorage roomStorage)
 {
     _currentUserAccessor = currentUserAccessor;
     _roomStorage         = roomStorage;
 }
Пример #5
0
 public GameHubBroadcast(IRoomStorage roomStorage, IHubContext <GameHub> hubContext)
 {
     _hubContext  = hubContext;
     _roomStorage = roomStorage;
 }
Пример #6
0
 public GameController(IUserService userService, ICurrentUserAccessor currentUserAccessor, IRoomStorage roomStorage)
 {
     _userService         = userService;
     _currentUserAccessor = currentUserAccessor;
     _roomStorage         = roomStorage;
 }
Пример #7
0
 public ChatHub(IRoomStorage rooms)
 {
     this.rooms = rooms;
 }
Пример #8
0
 public RoomFetcher(IRoomStorage storage)
 {
     _storage = storage;
 }