protected IReceiveLocation <string> ReceiveLocation(Action <IReceiveLocation <string> > receiveLocationConfigurator) { var receiveLocation = new ReceiveLocation(receiveLocationConfigurator); return(receiveLocation); }
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); }