Click or drag to resize

TypedCollectionT Class

Manage a collection of specified reference instances.
Inheritance Hierarchy
SystemObject
  Internal.ComponentFactory.Krypton.ToolkitTypedCollectionT
    More

Namespace: Internal.ComponentFactory.Krypton.Toolkit
Assembly: NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public class TypedCollection<T> : IList, 
	ICollection, IEnumerable, IList<T>, ICollection<T>, IEnumerable<T>
where T : class

Type Parameters

T

The TypedCollectionT type exposes the following members.

Constructors
 NameDescription
Public methodTypedCollectionT Initialize a new instance of the TypedCollection class.
Top
Properties
 NameDescription
Public propertyCount Gets the number of items in collection.
Public propertyIsFixedSize Gets a value indicating whether the collection has a fixed size.
Public propertyIsReadOnly Gets a value indicating whether the collection is read-only.
Public propertyIsSynchronized Gets a value indicating whether access to the collection is synchronized (thread safe).
Public propertyItemInt32 Gets or sets the item at the specified index.
Public propertyItemString Gets the item with the provided unique name.
Public propertySyncRoot Gets an object that can be used to synchronize access to the collection.
Top
Methods
 NameDescription
Public methodAdd(Object) Append an item to the collection.
Public methodAdd(T) Append an item to the collection.
Public methodAddRange Append an array of items.
Public methodClear Remove all items from the collection.
Public methodContains(Object) Determines whether the collection contains the item.
Public methodContains(T) Determines whether the collection contains the item.
Public methodCopyTo(Array, Int32) Copies all the elements of the current collection to the specified Array.
Public methodCopyTo(T, Int32) Copies items to specified array starting at particular index.
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 methodGetEnumerator Shallow enumerate over items in the collection.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIndexOf(Object) Determines the index of the specified item in the collection.
Public methodIndexOf(T) Determines the index of the specified item in the collection.
Public methodInsert(Int32, T) Inserts an item to the collection at the specified index.
Public methodInsert(Int32, Object) Inserts an item to the collection at the specified index.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodMoveAfter Move the source item to be immediately after the target item.
Public methodMoveBefore Move the source item to be immediately before the target item.
Protected methodOnCleared Raises the Cleared event.
Protected methodOnClearing Raises the Clearing event.
Protected methodOnInserted Raises the Inserted event.
Protected methodOnInserting Raises the Inserting event.
Protected methodOnRemoved Raises the Removed event.
Protected methodOnRemoving Raises the Removing event.
Protected methodOnReordered Raises the Reordered event.
Public methodRemove(Object) Removes first occurance of specified item.
Public methodRemove(T) Removes first occurance of specified item.
Public methodRemoveAt Removes the item at the specified index.
Public methodToString Obtains the String representation of this instance.
(Overrides ObjectToString)
Top
Events
 NameDescription
Public eventCleared Occurs when an items have been removed from the collection.
Public eventClearing Occurs when an items are about to be removed from the collection.
Public eventInserted Occurs when an item has been added/inserted to the collection.
Public eventInserting Occurs when an item is about to be added/inserted to the collection.
Public eventRemoved Occurs when an item is removed from the collection.
Public eventRemoving Occurs when an item is about to be removed from the collection.
Public eventReordered Occurs when items have been reordered inside the collection.
Top
Extension Methods
 NameDescription
Public Extension MethodForEachT
(Defined by RcCollectionExtensions)
Public Extension MethodGetReverseT Returns reversed list.
(Defined by CollectionUtility)
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodShuffleT
(Defined by RcCollectionExtensions)
Top
See Also
Inheritance Hierarchy