示例#1
0
 public ChatController(IUserGroupService userGroupService, IMessageService messageService, UserManager <IdentityUser> userManager, IHubContext <GroupHub> hub, IUserVsgroupService userVsgroupService)
 {
     this.userGroupService = userGroupService;
     this.messageService   = messageService;
     this.userManager      = userManager;
     this.hub = hub;
     this.userVsgroupService = userVsgroupService;
 }
示例#2
0
 public GroupHub(IUserGroupService userGroupService, IUserVsgroupService userVsgroupService)
 {
     this.userGroupService   = userGroupService;
     this.userVsgroupService = userVsgroupService;
 }