コード例 #1
0
 public bool Equals(EndpointAddress other)
 {
   if (ReferenceEquals(null, other)) return false;
   if (ReferenceEquals(this, other)) return true;
   return Equals(other._address, _address);
 }
コード例 #2
0
 public static NameAndHostAddress FromAddress(EndpointAddress address)
 {
   return FromString(address.Address);
 }
コード例 #3
0
 public static CurrentMessageContext Open(EndpointAddress returnAddress, string correlationId)
 {
   return _current = new CurrentMessageContext(returnAddress, correlationId, _current);
 }
コード例 #4
0
 public static CurrentMessageContext SendRepliesTo(EndpointAddress returnAddress)
 {
   return Open(returnAddress, _current.CorrelationId);
 }
コード例 #5
0
 public CurrentMessageContext(EndpointAddress returnAddress, string correlationId, CurrentMessageContext parentContext)
 {
   _returnAddress = returnAddress;
   _correlationId = correlationId;
   _parentContext = parentContext;
 }