SaaS CMS has officially launched! Learn more now.

Class SortableComparer

Used to compare sort two instances that implements ISortable.

Inheritance
System.Object
SortableComparer
Implements
System.Collections.Generic.IComparer<ISortable>
Namespace: EPiServer.Framework
Assembly: EPiServer.Framework.dll
Version: 12.0.3
Syntax
public class SortableComparer : Object, 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<>

Extension Methods