コード例 #1
0
        public static bool RegisterHubClient(IHubClient client)
        {
            bool result = _hubClientSet.Add(client);

            if (result && (_channel != null))
            {
                client.ConnectHub(_channel);
            }
            return(result);
        }