Click or drag to resize
DigitalRuneGameObjectCollection Class
Manages a collection of game objects.
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelCollectionGameObject
    System.Collections.ObjectModelKeyedCollectionString, GameObject
      DigitalRune.CollectionsNamedObjectCollectionGameObject
        DigitalRune.GameGameObjectCollection

Namespace: DigitalRune.Game
Assembly: DigitalRune.Game (in DigitalRune.Game.dll) Version: 1.4.0.0 (1.4.0.14427)
Syntax
public class GameObjectCollection : NamedObjectCollection<GameObject>

The GameObjectCollection type exposes the following members.

Methods
  NameDescription
Public methodAdd (Inherited from CollectionGameObject.)
Public methodAddRange (Inherited from NamedObjectCollectionT.)
Protected methodChangeItemKey
Changes the key associated with the specified element in the lookup dictionary.
(Inherited from KeyedCollectionString, GameObject.)
Public methodClear (Inherited from CollectionGameObject.)
Protected methodClearItems
Removes all elements from the GameObjectCollection.
(Overrides NamedObjectCollectionTClearItems.)
Public methodContains(TKey)
Determines whether the collection contains an element with the specified key.
(Inherited from KeyedCollectionString, GameObject.)
Public methodContains(T) (Inherited from CollectionGameObject.)
Public methodCopyTo (Inherited from CollectionGameObject.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator (Inherited from NamedObjectCollectionT.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected methodGetKeyForItem
When implemented in a derived class, extracts the key from the specified element.
(Inherited from NamedObjectCollectionT.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf (Inherited from CollectionGameObject.)
Public methodInsert (Inherited from CollectionGameObject.)
Protected methodInsertItem
Inserts an element into the GameObjectCollection at the specified index.
(Overrides NamedObjectCollectionTInsertItem(Int32, T).)
Public methodInsertRange (Inherited from NamedObjectCollectionT.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMove
Moves the item at the specified index to a new location in the collection.
(Inherited from NamedObjectCollectionT.)
Protected methodMoveItem
Moves the item at the specified index to a new location in the collection.
(Overrides NamedObjectCollectionTMoveItem(Int32, Int32).)
Protected methodOnCollectionChanged
Raises the CollectionChanged event.
(Inherited from NamedObjectCollectionT.)
Public methodRemove(TKey) (Inherited from KeyedCollectionString, GameObject.)
Public methodRemove(T) (Inherited from CollectionGameObject.)
Public methodRemoveAt (Inherited from CollectionGameObject.)
Protected methodRemoveItem
Removes the element at the specified index of the GameObjectCollection.
(Overrides NamedObjectCollectionTRemoveItem(Int32).)
Public methodRemoveRange (Inherited from NamedObjectCollectionT.)
Protected methodSetItem
Replaces the item at the specified index with the specified item.
(Overrides NamedObjectCollectionTSetItem(Int32, T).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGet(String, T)
Gets the object associated with the specified key.
(Inherited from NamedObjectCollectionT.)
Top
Properties
  NameDescription
Public propertyComparer
Gets the generic equality comparer that is used to determine equality of keys in the collection.
(Inherited from KeyedCollectionString, GameObject.)
Public propertyCount (Inherited from CollectionGameObject.)
Protected propertyDictionary (Inherited from KeyedCollectionString, GameObject.)
Public propertyItemTKey
Gets the element with the specified key.
(Inherited from KeyedCollectionString, GameObject.)
Public propertyItemInt32
Gets or sets the element at the specified index.
(Inherited from CollectionGameObject.)
Protected propertyItems (Inherited from CollectionGameObject.)
Top
Events
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIListAdd
Adds an item to the IList.
(Inherited from CollectionGameObject.)
Explicit interface implementationPrivate methodIListContains
Determines whether the IList contains a specific value.
(Inherited from CollectionGameObject.)
Explicit interface implementationPrivate methodICollectionCopyTo
Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from CollectionGameObject.)
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from CollectionGameObject.)
Explicit interface implementationPrivate methodIListIndexOf
Determines the index of a specific item in the IList.
(Inherited from CollectionGameObject.)
Explicit interface implementationPrivate methodIListInsert
Inserts an item into the IList at the specified index.
(Inherited from CollectionGameObject.)
Explicit interface implementationPrivate propertyIListIsFixedSize
Gets a value indicating whether the IList has a fixed size.
(Inherited from CollectionGameObject.)
Explicit interface implementationPrivate propertyICollectionTIsReadOnly (Inherited from CollectionGameObject.)
Explicit interface implementationPrivate propertyIListIsReadOnly
Gets a value indicating whether the IList is read-only.
(Inherited from CollectionGameObject.)
Explicit interface implementationPrivate propertyICollectionIsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from CollectionGameObject.)
Explicit interface implementationPrivate propertyIListItem
Gets or sets the element at the specified index.
(Inherited from CollectionGameObject.)
Explicit interface implementationPrivate methodIListRemove
Removes the first occurrence of a specific object from the IList.
(Inherited from CollectionGameObject.)
Explicit interface implementationPrivate propertyICollectionSyncRoot
Gets an object that can be used to synchronize access to the ICollection.
(Inherited from CollectionGameObject.)
Top
See Also