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