コード例 #1
0
        public Task Handle(ClientServiceRemovedEvent message)
        {
            if (message == null)
            {
                throw new ArgumentNullException(nameof(message));
            }

            var notifier = _connectionManager.GetHubContext <Notifier>();

            notifier.Clients.All.clientServiceRemoved(_responseBuilder.GetClientServiceRemovedEvent(message));
            return(Task.FromResult(0));
        }