protected IReceiveLocation <string> ReceiveLocation(Action <IReceiveLocation <string> > receiveLocationConfigurator)
        {
            var receiveLocation = new ReceiveLocation(receiveLocationConfigurator);

            return(receiveLocation);
        }
Esempio n. 2
0
        public override string ResolveHost()
        {
            var name = Host?.ResolveHost(this);

            if (name.IsNullOrEmpty())
            {
                throw new BindingException($"Transport's Host could not be resolved for ReceiveLocation '{ReceiveLocation.ResolveName()}'.");
            }
            return(name);
        }