Class ItemTypesDisplayNameSorter
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Provides the ability to sort a collection of item types by their display name.
public class ItemTypesDisplayNameSorter : IComparer<ItemType>
- Inheritance
-
ItemTypesDisplayNameSorter
- Implements
- Inherited Members
Constructors
ItemTypesDisplayNameSorter()
Initializes a new instance of the CENTREL.Web.UI.ItemTypesDisplayNameSorter class
public ItemTypesDisplayNameSorter()
Methods
Compare(ItemType, ItemType)
Compares the two item types to allow sorting alphabetically by their display name.
public int Compare(ItemType typeX, ItemType typeY)
Parameters
Returns
- int
An integer value to determines the order in which the item types are to be displayed.