コード例 #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()));
 }