コード例 #1
0
 public ChatHub(
     ChatAuthenticationService authenticationService,
     ConnectionMapping connections,
     ChatHistory chatHistory)
 {
     _authenticationService = authenticationService;
     _connections           = connections;
     _chatHistory           = chatHistory;
 }
コード例 #2
0
 public ChatHub(
     ChatAuthenticationService authenticationService,
     BanReadmodelRepository banRepository,
     ConnectionMapping connections,
     ChatHistory chatHistory)
 {
     _authenticationService = authenticationService;
     _banRepository         = banRepository;
     _connections           = connections;
     _chatHistory           = chatHistory;
 }