Table of Contents

Class ItemTypeCollection

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents a collection of item types.

public class ItemTypeCollection : Collection<ItemType>, IList<ItemType>, ICollection<ItemType>, IList, ICollection, IReadOnlyList<ItemType>, IReadOnlyCollection<ItemType>, IEnumerable<ItemType>, IEnumerable
Inheritance
ItemTypeCollection
Implements
Inherited Members

Constructors

ItemTypeCollection()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.ItemTypeCollection class.

public ItemTypeCollection()

Methods

AddAll()

Ensures that the collections contains all item types.

public void AddAll()

InsertItem(int, ItemType)

Overrides the insertion of items ensuring that the collection does not contain duplicate item types.

protected override void InsertItem(int index, ItemType item)

Parameters

index int

The index at which the item type is being inserted.

item ItemType

The item type being inserted into the collection.

Sort()

Sorts the values in the collection using the item display name.

public void Sort()

ToDisplayNames()

Returns the display names of the items in the collection, sorted in alphabetical order.

public SerializableStringCollection ToDisplayNames()

Returns

SerializableStringCollection

The display names of the items in the collection, sorted in alphabetical order.

ToString()

Returns the display names of the items in the collection, sorted in alphabetical order.

public override string ToString()

Returns

string

The display names of the items in the collection, sorted in alphabetical order.