Click or drag to resize

RenameableItemListT Class

Represents a list of renameable items and keeps its name index synchronized with rename operations.
Inheritance Hierarchy
SystemObject
  Altaxo.CollectionsNamedItemListT
    Altaxo.CollectionsRenameableItemListT

Namespace: Altaxo.Collections
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public class RenameableItemList<T> : NamedItemList<T>
where T : IRenameableItem

Type Parameters

T
The type of renameable item.

The RenameableItemListT type exposes the following members.

Constructors
 NameDescription
Public methodRenameableItemListT Initializes a new instance of the RenameableItemListT class.
Top
Properties
 NameDescription
Public propertyCount Gets the number of items in the list.
(Inherited from NamedItemListT)
Public propertyItemInt32 Gets the item at the specified index.
(Inherited from NamedItemListT)
Public propertyItemString Gets the item with the specified name.
(Inherited from NamedItemListT)
Top
Methods
 NameDescription
Public methodAdd Adds the specified item to the list.
(Overrides NamedItemListTAdd(T))
Public methodClear Removes all items from the list.
(Inherited from NamedItemListT)
Public methodContains(INamedItem) Determines whether the specified item exists in the list.
(Inherited from NamedItemListT)
Public methodContains(String) Determines whether an item with the specified name exists in the list.
(Inherited from NamedItemListT)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetEnumeratorReturns an enumerator that iterates through the collection.
(Inherited from NamedItemListT)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIndexOf(INamedItem) Gets the index of the specified item.
(Inherited from NamedItemListT)
Public methodIndexOf(String) Gets the index of the item with the specified name.
(Inherited from NamedItemListT)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodOnCollectionChanged Raises the [E:CollectionChanged] event.
(Inherited from NamedItemListT)
Public methodRemoveAt Removes the item at the specified index.
(Overrides NamedItemListTRemoveAt(Int32))
Public methodSetElement Replaces the item at the specified index.
(Overrides NamedItemListTSetElement(Int32, T))
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryGetValue Tries to get the item with the specified name.
(Inherited from NamedItemListT)
Top
Events
 NameDescription
Public eventCollectionChanged Occurs when the collection changes.
(Inherited from NamedItemListT)
Top
Fields
 NameDescription
Protected field_list The ordered list of items.
(Inherited from NamedItemListT)
Protected field_nameToIndex Maps item names to their indices in _list.
(Inherited from NamedItemListT)
Top
See Also