/// <summary> /// Compare this instance to another (by Handle) /// </summary> /// <param name="other">The other instance</param> /// <returns>The result of the comparison</returns> public int CompareTo(IProductFamily other) { return(string.Compare(Handle, other.Handle, StringComparison.InvariantCultureIgnoreCase)); }
/// <summary> /// Compare this instance to another (by FullName) /// </summary> /// <param name="other">The other instance</param> /// <returns>The result of the comparison</returns> public int CompareTo(IProductFamily other) { return(this.Name.CompareTo(other.Name)); }
/// <summary> /// Compare this instance to another (by Handle) /// </summary> /// <param name="other">The other instance</param> /// <returns>The result of the comparison</returns> public int CompareTo(IProductFamily other) { return(this.Handle.CompareTo(other.Handle)); }