Click or drag to resize
DigitalRuneInputCommandCollection Class
Manages a collection of IInputCommands.
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelCollectionIInputCommand
    System.Collections.ObjectModelKeyedCollectionString, IInputCommand
      DigitalRune.CollectionsNamedObjectCollectionIInputCommand
        DigitalRune.Game.InputInputCommandCollection

Namespace: DigitalRune.Game.Input
Assembly: DigitalRune.Game.Input (in DigitalRune.Game.Input.dll) Version: 1.8.0.0 (1.8.0.14467)
Syntax
public class InputCommandCollection : NamedObjectCollection<IInputCommand>

The InputCommandCollection type exposes the following members.

Methods
  NameDescription
Public methodAdd (Inherited from CollectionIInputCommand.)
Public methodAddRange (Inherited from NamedObjectCollectionT.)
Protected methodChangeItemKey
Changes the key associated with the specified element in the lookup dictionary.
(Inherited from KeyedCollectionString, IInputCommand.)
Public methodClear (Inherited from CollectionIInputCommand.)
Protected methodClearItems
Removes all elements from the InputCommandCollection.
(Overrides NamedObjectCollectionTClearItems.)
Public methodContains(TKey)
Determines whether the collection contains an element with the specified key.
(Inherited from KeyedCollectionString, IInputCommand.)
Public methodContains(T) (Inherited from CollectionIInputCommand.)
Public methodCopyTo (Inherited from CollectionIInputCommand.)
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 CollectionIInputCommand.)
Public methodInsert (Inherited from CollectionIInputCommand.)
Protected methodInsertItem
Inserts an element into the InputCommandCollection 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.
(Inherited from NamedObjectCollectionT.)
Protected methodOnCollectionChanged
Raises the CollectionChanged event.
(Inherited from NamedObjectCollectionT.)
Public methodRemove(TKey) (Inherited from KeyedCollectionString, IInputCommand.)
Public methodRemove(T) (Inherited from CollectionIInputCommand.)
Public methodRemoveAt (Inherited from CollectionIInputCommand.)
Protected methodRemoveItem
Removes the element at the specified index of the InputCommandCollection.
(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, IInputCommand.)
Public propertyCount (Inherited from CollectionIInputCommand.)
Protected propertyDictionary (Inherited from KeyedCollectionString, IInputCommand.)
Public propertyItemTKey
Gets the element with the specified key.
(Inherited from KeyedCollectionString, IInputCommand.)
Public propertyItemInt32
Gets or sets the element at the specified index.
(Inherited from CollectionIInputCommand.)
Protected propertyItems (Inherited from CollectionIInputCommand.)
Top
Events
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIListAdd
Adds an item to the IList.
(Inherited from CollectionIInputCommand.)
Explicit interface implementationPrivate methodIListContains
Determines whether the IList contains a specific value.
(Inherited from CollectionIInputCommand.)
Explicit interface implementationPrivate methodICollectionCopyTo
Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from CollectionIInputCommand.)
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from CollectionIInputCommand.)
Explicit interface implementationPrivate methodIListIndexOf
Determines the index of a specific item in the IList.
(Inherited from CollectionIInputCommand.)
Explicit interface implementationPrivate methodIListInsert
Inserts an item into the IList at the specified index.
(Inherited from CollectionIInputCommand.)
Explicit interface implementationPrivate propertyIListIsFixedSize
Gets a value indicating whether the IList has a fixed size.
(Inherited from CollectionIInputCommand.)
Explicit interface implementationPrivate propertyICollectionTIsReadOnly (Inherited from CollectionIInputCommand.)
Explicit interface implementationPrivate propertyIListIsReadOnly
Gets a value indicating whether the IList is read-only.
(Inherited from CollectionIInputCommand.)
Explicit interface implementationPrivate propertyICollectionIsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from CollectionIInputCommand.)
Explicit interface implementationPrivate propertyIListItem
Gets or sets the element at the specified index.
(Inherited from CollectionIInputCommand.)
Explicit interface implementationPrivate methodIListRemove
Removes the first occurrence of a specific object from the IList.
(Inherited from CollectionIInputCommand.)
Explicit interface implementationPrivate propertyICollectionSyncRoot
Gets an object that can be used to synchronize access to the ICollection.
(Inherited from CollectionIInputCommand.)
Top
Remarks
Null items cannot be added to this collection.
See Also