예제 #1
0
 /// <summary>
 /// Returns a <see cref="T:System.String" /> that represents the current <see cref="T:System.Object" /> .
 /// </summary>
 /// <returns>
 /// A <see cref="T:System.String" /> that represents the current <see cref="T:System.Object" /> .
 /// </returns>
 public override string ToString()
 {
     return(PropertyConstruct.CommonToString(this));
 }
예제 #2
0
 /// <summary>
 /// Determines whether the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Object" /> .
 /// </summary>
 /// <returns>
 /// true if the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Object" /> ; otherwise, false.
 /// </returns>
 /// <param name="obj">
 /// The <see cref="T:System.Object" /> to compare with the current <see cref="T:System.Object" /> .
 /// </param>
 /// <filterpriority> 2 </filterpriority>
 public override bool Equals(object obj)
 {
     return(PropertyConstruct.CommonEquals(this, obj));
 }
예제 #3
0
 /// <summary>
 /// Serves as a hash function for a particular type.
 /// </summary>
 /// <returns>
 /// A hash code for the current <see cref="T:System.Object" /> .
 /// </returns>
 public override int GetHashCode()
 {
     return(PropertyConstruct.CommonGetHashCode(this));
 }