コード例 #1
0
 public HubContext(IConnection connection, IHubPipelineInvoker invoker, string hubName)
 {
     Clients = new HubConnectionContextBase(connection, invoker, hubName);
     Groups  = new GroupManager(connection, PrefixHelper.GetHubGroupName(hubName));
 }
コード例 #2
0
 public HubContext(IConnection connection, IHubPipelineInvoker invoker, string hubName)
 {
     Clients = new HubConnectionContextBase(connection, invoker, hubName);
     Groups = new GroupManager(connection, PrefixHelper.GetHubGroupName(hubName));
 }