/// <summary>
 /// Compare this instance to another (by Handle)
 /// </summary>
 /// <param name="other">The other instance to compare against</param>
 /// <returns>The result of the comparison</returns>
 public int CompareTo(ProductFamilyAttributes other)
 {
     return(string.Compare(Handle, other.Handle, StringComparison.InvariantCultureIgnoreCase));
 }
Пример #2
0
 /// <summary>
 /// Compare this instance to another (by Handle)
 /// </summary>
 /// <param name="other">The other instance to compare against</param>
 /// <returns>The result of the comparison</returns>
 public int CompareTo(ProductFamilyAttributes other)
 {
     return(this.Handle.CompareTo(other.Handle));
 }