/// <summary> /// Compares the current object with another object of the same type. /// </summary> /// <param name="other">An object to compare with this object.</param> /// <returns> /// A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has the following meanings: Value Meaning Less than zero This object is less than the <paramref name="other"/> parameter.Zero This object is equal to <paramref name="other"/>. Greater than zero This object is greater than <paramref name="other"/>. /// </returns> public int CompareTo(IPostProcess other) { return(PostProcessComparer.CompareIPostProcess(this, other)); }
/// <summary> /// Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other. /// </summary> /// <param name="x">The first object to compare.</param> /// <param name="y">The second object to compare.</param> /// <returns> /// Value /// Condition /// Less than zero /// <paramref name="x"/> is less than <paramref name="y"/>. /// Zero /// <paramref name="x"/> equals <paramref name="y"/>. /// Greater than zero /// <paramref name="x"/> is greater than <paramref name="y"/>. /// </returns> public int Compare(IPostProcess x, IPostProcess y) { return(PostProcessComparer.CompareIPostProcess(x, y)); }