private void HandlersContainer_OnUnregistered(object sender, Type type) { IRoutingInformation infos = _router.GetRoutingInformations(type); _client.UnsubscribeAsync(infos.Topic).ConfigureAwait(false).GetAwaiter().GetResult(); }
private IRoutingInformation GetRoutingInformations <T>() { return(_router.GetRoutingInformations(typeof(T))); }