Exemple #1
0
        private void HandlersContainer_OnUnregistered(object sender, Type type)
        {
            IRoutingInformation infos = _router.GetRoutingInformations(type);

            _client.UnsubscribeAsync(infos.Topic).ConfigureAwait(false).GetAwaiter().GetResult();
        }
Exemple #2
0
 private IRoutingInformation GetRoutingInformations <T>()
 {
     return(_router.GetRoutingInformations(typeof(T)));
 }