Ejemplo n.º 1
0
 /// <summary>
 /// Returns a hash code for this proxy.
 /// </summary>
 /// <returns>The hash code.</returns>
 public override int GetHashCode() => IceReference.GetHashCode();
Ejemplo n.º 2
0
 /// <summary>
 /// Returns whether this proxy equals the passed object. Two proxies are equal if they are equal in all
 /// respects, that is, if their object identity, endpoints timeout settings, and so on are all equal.
 /// </summary>
 /// <param name="other">The object to compare this proxy with.</param>
 /// <returns>True if this proxy is equal to r; false, otherwise.</returns>
 public bool Equals(IObjectPrx?other) => other != null && IceReference.Equals(other.IceReference);
Ejemplo n.º 3
0
 /// <summary>
 /// Returns the stringified form of this proxy.
 /// </summary>
 /// <returns>The stringified proxy.</returns>
 public override string ToString()
 {
     Debug.Assert(IceReference != null);
     return(IceReference.ToString());
 }