Exemple #1
0
 public ChatController(IOaChatService chatService)
 {
     this._chatService = chatService;
 }
Exemple #2
0
 ////private IHubContext<ChatHub> _hubContext;
 public ChatController(ISystemService systemService, IOaChatService chatService)
 {
     this._systemService = systemService;
     this._chatService   = chatService;
 }
Exemple #3
0
 public ChatHub(IOaChatService chatService)
 {
     this._chatService = chatService;
 }
Exemple #4
0
 public ChatController(IServiceProvider serviceProvider, ISystemService systemService, IOaChatService chatService)
 {
     _hubContext         = serviceProvider.GetService <IHubContext <ChatHub> >();
     this._systemService = systemService;
     this._chatService   = chatService;
 }