Ejemplo n.º 1
0
        public IReadOnlyList <string> FilterPlayers(Func <KeyValuePair <string, AuthHubDto>, bool> predicate)
        {
            bool Query(KeyValuePair <string, AuthHubDto> x) => x.Value.Hub == _hubName && predicate(x);

            return(_hubConnection.FilterPlayers(Query));
        }