The StateCollection type exposes the following members.

Constructors

  NameDescription
Public methodStateCollection
Initializes a new instance of the StateCollection class.

Methods

  NameDescription
Public methodAdd
Adds an object to the end of the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'State>)>)>.)
Public methodAddRange
Adds the elements of the specified collection to the end of the NamedObjectCollection<(Of <(<'T>)>)>.
(Inherited from NamedObjectCollection<(Of <(<'T>)>)>.)
Protected methodChangeItemKey
Changes the key associated with the specified element in the lookup dictionary.
(Inherited from KeyedCollection<(Of <(<'String, State>)>)>.)
Public methodClear
Removes all elements from the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'State>)>)>.)
Protected methodClearItems
Removes all elements from the Collection<(Of <(<'T>)>)>.
(Overrides KeyedCollection<(Of <(<'TKey, TItem>)>)>..::..ClearItems()()()().)
Public methodContains(TKey)
Determines whether the collection contains an element with the specified key.
(Inherited from KeyedCollection<(Of <(<'String, State>)>)>.)
Public methodContains(T)
Determines whether an element is in the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'State>)>)>.)
Public methodCopyTo
Copies the entire Collection<(Of <(<'T>)>)> to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from Collection<(Of <(<'State>)>)>.)
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
Returns an enumerator that iterates through the StateCollection.
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 NamedObjectCollection<(Of <(<'T>)>)>.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'State>)>)>.)
Public methodInsert
Inserts an element into the Collection<(Of <(<'T>)>)> at the specified index.
(Inherited from Collection<(Of <(<'State>)>)>.)
Protected methodInsertItem
Inserts an element into the Collection<(Of <(<'T>)>)> at the specified index.
(Overrides KeyedCollection<(Of <(<'TKey, TItem>)>)>..::..InsertItem(Int32, TItem).)
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 NamedObjectCollection<(Of <(<'T>)>)>.)
Protected methodMoveItem
Moves the item at the specified index to a new location in the collection.
(Inherited from NamedObjectCollection<(Of <(<'T>)>)>.)
Public methodRemove(TKey)
Removes the element with the specified key from the KeyedCollection<(Of <(<'TKey, TItem>)>)>.
(Inherited from KeyedCollection<(Of <(<'String, State>)>)>.)
Public methodRemove(T)
Removes the first occurrence of a specific object from the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'State>)>)>.)
Public methodRemoveAt
Removes the element at the specified index of the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'State>)>)>.)
Protected methodRemoveItem
Removes the element at the specified index of the Collection<(Of <(<'T>)>)>.
(Overrides KeyedCollection<(Of <(<'TKey, TItem>)>)>..::..RemoveItem(Int32).)
Protected methodSetItem
Replaces the element at the specified index.
(Overrides KeyedCollection<(Of <(<'TKey, TItem>)>)>..::..SetItem(Int32, TItem).)
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 NamedObjectCollection<(Of <(<'T>)>)>.)

Properties

  NameDescription
Public propertyActiveState
Gets the active state.
Public propertyComparer
Gets the generic equality comparer that is used to determine equality of keys in the collection.
(Inherited from KeyedCollection<(Of <(<'String, State>)>)>.)
Public propertyCount
Gets the number of elements actually contained in the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'State>)>)>.)
Protected propertyDictionary
Gets the lookup dictionary of the KeyedCollection<(Of <(<'TKey, TItem>)>)>.
(Inherited from KeyedCollection<(Of <(<'String, State>)>)>.)
Public propertyFinalState
Gets or sets the final state.
Public propertyInitialState
Gets or sets the initial state.
Public propertyItem[([( TKey])])
Gets the element with the specified key.
(Inherited from KeyedCollection<(Of <(<'String, State>)>)>.)
Public propertyItem[([( Int32])])
Gets or sets the element at the specified index.
(Inherited from Collection<(Of <(<'State>)>)>.)
Protected propertyItems (Inherited from Collection<(Of <(<'State>)>)>.)
Public propertyOwner
Gets the state that owns this state collection.
Public propertySaveHistory
Gets or sets a value indicating whether this state collection has a "history state".

Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate methodIList..::..Add
Adds an item to the IList.
(Inherited from Collection<(Of <(<'State>)>)>.)
Explicit interface implemetationPrivate methodIList..::..Contains
Determines whether the IList contains a specific value.
(Inherited from Collection<(Of <(<'State>)>)>.)
Explicit interface implemetationPrivate methodICollection..::..CopyTo
Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from Collection<(Of <(<'State>)>)>.)
Explicit interface implemetationPrivate methodIEnumerable..::..GetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from Collection<(Of <(<'State>)>)>.)
Explicit interface implemetationPrivate methodIList..::..IndexOf
Determines the index of a specific item in the IList.
(Inherited from Collection<(Of <(<'State>)>)>.)
Explicit interface implemetationPrivate methodIList..::..Insert
Inserts an item into the IList at the specified index.
(Inherited from Collection<(Of <(<'State>)>)>.)
Explicit interface implemetationPrivate propertyIList..::..IsFixedSize
Gets a value indicating whether the IList has a fixed size.
(Inherited from Collection<(Of <(<'State>)>)>.)
Explicit interface implemetationPrivate propertyICollection<(Of <<'(T>)>>)..::..IsReadOnly
Gets a value indicating whether the ICollection<(Of <(<'T>)>)> is read-only.
(Inherited from Collection<(Of <(<'State>)>)>.)
Explicit interface implemetationPrivate propertyIList..::..IsReadOnly
Gets a value indicating whether the IList is read-only.
(Inherited from Collection<(Of <(<'State>)>)>.)
Explicit interface implemetationPrivate propertyICollection..::..IsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from Collection<(Of <(<'State>)>)>.)
Explicit interface implemetationPrivate propertyIList..::..Item
Gets or sets the element at the specified index.
(Inherited from Collection<(Of <(<'State>)>)>.)
Explicit interface implemetationPrivate methodIList..::..Remove
Removes the first occurrence of a specific object from the IList.
(Inherited from Collection<(Of <(<'State>)>)>.)
Explicit interface implemetationPrivate propertyICollection..::..SyncRoot
Gets an object that can be used to synchronize access to the ICollection.
(Inherited from Collection<(Of <(<'State>)>)>.)

See Also