Example #1
0
        public Uri GetEndpoint(KnownServicesTypes serviceType)
        {
            var rabbit  = _configuration["RabbitMQHost"];
            var service = _configuration[serviceType.ToString()];

            return(new Uri($"{rabbit}{service}"));
        }
Example #2
0
 public Uri GetEndpoint(KnownServicesTypes serviceType)
 {
     throw new NotImplementedException();
 }
        public Uri GetEndpoint(KnownServicesTypes serviceType)
        {
            var service = _configuration[serviceType.ToString()];

            return(new Uri($"{UriString}/{service}"));
        }