protected ISendPort <string> SendPort(Action <ISendPort <string> > sendPortConfigurator)
        {
            var sendPort = new SendPort(sendPortConfigurator);

            return(sendPort);
        }
        public override string ResolveHost()
        {
            var name = Host?.ResolveHost(this);

            if (name.IsNullOrEmpty())
            {
                throw new BindingException(
                          $"{(ReferenceEquals(SendPort.Transport, this) ? "Primary" : "Backup")} Transport's Host could not be resolved for SendPort '{SendPort.ResolveName()}'.");
            }
            return(name);
        }