示例#1
0
文件: Proxy.cs 项目: menghuan341/ice
 /// <summary>
 /// Returns a hash code for this proxy.
 /// </summary>
 /// <returns>The hash code.</returns>
 public override int GetHashCode() => IceReference.GetHashCode();
示例#2
0
文件: Proxy.cs 项目: menghuan341/ice
 /// <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);
示例#3
0
文件: Proxy.cs 项目: menghuan341/ice
 /// <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());
 }