Try our conversational search powered by Generative AI!

Class SortableComparer

Used to compare sort two instances that implements ISortable.

Inheritance
System.Object
SortableComparer
Implements
System.Collections.Generic.IComparer<ISortable>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Framework
Assembly: EPiServer.Framework.dll
Version: 11.20.7
Syntax
public class SortableComparer : IComparer<ISortable>

Constructors

SortableComparer()

Declaration
public SortableComparer()

Methods

Compare(ISortable, ISortable)

Compares the specified x.

Declaration
public int Compare(ISortable x, ISortable y)
Parameters
Type Name Description
ISortable x

The x.

ISortable y

The y.

Returns
Type Description
System.Int32

Implements

System.Collections.Generic.IComparer<T>

Extension Methods