Skip to main content

listitemcomparer-class

Represents the comparer for two ListItem objects Implements the System.Collections.Generic.IComparer'1

public class Korzh.EasyQuery.Services.ListItemComparer
: IComparer<ListItem>

Assembly: Korzh.EasyQuery.dll

Constructors

NameTypeDescription
ListItemComparer()void

Methods

NameTypeDescription
Compare(ListItem x, ListItem y)intCompares two items. Returns -1 if x.text < y.text and 1 if x.text > y.text. 0 if they are equal