Ejemplo n.º 1
0
        public async Task <bool> UnSubscribeAsync(Type eventType, Type eventHandlerType)
        {
            var channelName = GetChannelName(eventType, eventHandlerType);
            await _subscriber.UnsubscribeAsync(channelName);

            return(await _subscriptionManager.UnSubscribeAsync(eventType, eventHandlerType));
        }
Ejemplo n.º 2
0
 public Task <bool> UnSubscribeAsync(Type eventType, Type eventHandlerType) => _subscriptionManager.UnSubscribeAsync(eventType, eventHandlerType);