示例#1
0
 public TimedSimplerMatchTickService(IHubContext <SimplerMatchHub> hubContext, SimplerMatchState matchState)
 {
     this.hubContext = hubContext;
     this.matchState = matchState;
 }
示例#2
0
 public IClientProxy GetOtherMatchConnections(SimplerMatchState match)
 {
     return(Clients.Clients(match.ConnectionIds.Except(new string[] { Context.ConnectionId }).ToArray()));
 }