Esempio n. 1
0
 /// <summary>	Indicates whether this instance and a specified object are equal. </summary>
 /// <param name="other">	The counter to compare to this object. </param>
 /// <returns>
 /// true if <paramref name="other" /> and this instance are the same type and represent the same value; otherwise, false.
 /// </returns>
 public bool Equals(Counter other)
 {
     return Key == other.Key && Adjustment == other.Adjustment;
 }
Esempio n. 2
0
 /// <summary>	Indicates whether this instance and a specified object are equal. </summary>
 /// <param name="other">	The counter to compare to this object. </param>
 /// <returns>
 /// true if <paramref name="other" /> and this instance are the same type and represent the same value; otherwise, false.
 /// </returns>
 public bool Equals(Counter other)
 {
     return(Key == other.Key && Adjustment == other.Adjustment);
 }