public bool Equals(EndpointAddress other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return Equals(other._address, _address); }
public static NameAndHostAddress FromAddress(EndpointAddress address) { return FromString(address.Address); }
public static CurrentMessageContext Open(EndpointAddress returnAddress, string correlationId) { return _current = new CurrentMessageContext(returnAddress, correlationId, _current); }
public static CurrentMessageContext SendRepliesTo(EndpointAddress returnAddress) { return Open(returnAddress, _current.CorrelationId); }
public CurrentMessageContext(EndpointAddress returnAddress, string correlationId, CurrentMessageContext parentContext) { _returnAddress = returnAddress; _correlationId = correlationId; _parentContext = parentContext; }