Пример #1
0
        public WorkerService(IMessageChannel messageChannel, IMessageBus messageBus, IChannelPersistence channelPersistence)
        {
            _messageChannel     = messageChannel;
            _messageBus         = messageBus;
            _channelPersistence = channelPersistence;

            _messageChannel.On <OnChatRequestToJoinVoiceChannel>(HandleOnChatRequestToJoinVoiceChannel);
        }