The StateCollection type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| StateCollection |
Initializes a new instance of the StateCollection class.
|
Methods
| Name | Description | |
|---|---|---|
| Add | Adds an object to the end of the Collection<(Of <(<'T>)>)>. (Inherited from Collection<(Of <(<'State>)>)>.) | |
| AddRange |
Adds the elements of the specified collection to the end of the
NamedObjectCollection<(Of <(<'T>)>)>.
(Inherited from NamedObjectCollection<(Of <(<'T>)>)>.) | |
| ChangeItemKey | Changes the key associated with the specified element in the lookup dictionary. (Inherited from KeyedCollection<(Of <(<'String, State>)>)>.) | |
| Clear | Removes all elements from the Collection<(Of <(<'T>)>)>. (Inherited from Collection<(Of <(<'State>)>)>.) | |
| ClearItems |
Removes all elements from the Collection<(Of <(<'T>)>)>.
(Overrides KeyedCollection<(Of <(<'TKey, TItem>)>)>..::..ClearItems()()()().) | |
| Contains(TKey) | Determines whether the collection contains an element with the specified key. (Inherited from KeyedCollection<(Of <(<'String, State>)>)>.) | |
| Contains(T) | Determines whether an element is in the Collection<(Of <(<'T>)>)>. (Inherited from Collection<(Of <(<'State>)>)>.) | |
| CopyTo | 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>)>)>.) | |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetEnumerator |
Returns an enumerator that iterates through the StateCollection.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetKeyForItem |
When implemented in a derived class, extracts the key from the specified element.
(Inherited from NamedObjectCollection<(Of <(<'T>)>)>.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IndexOf | 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>)>)>.) | |
| Insert | Inserts an element into the Collection<(Of <(<'T>)>)> at the specified index. (Inherited from Collection<(Of <(<'State>)>)>.) | |
| InsertItem |
Inserts an element into the Collection<(Of <(<'T>)>)> at the specified index.
(Overrides KeyedCollection<(Of <(<'TKey, TItem>)>)>..::..InsertItem(Int32, TItem).) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Move |
Moves the item at the specified index to a new location in the collection.
(Inherited from NamedObjectCollection<(Of <(<'T>)>)>.) | |
| MoveItem |
Moves the item at the specified index to a new location in the collection.
(Inherited from NamedObjectCollection<(Of <(<'T>)>)>.) | |
| Remove(TKey) | Removes the element with the specified key from the KeyedCollection<(Of <(<'TKey, TItem>)>)>. (Inherited from KeyedCollection<(Of <(<'String, State>)>)>.) | |
| Remove(T) | Removes the first occurrence of a specific object from the Collection<(Of <(<'T>)>)>. (Inherited from Collection<(Of <(<'State>)>)>.) | |
| RemoveAt | Removes the element at the specified index of the Collection<(Of <(<'T>)>)>. (Inherited from Collection<(Of <(<'State>)>)>.) | |
| RemoveItem |
Removes the element at the specified index of the Collection<(Of <(<'T>)>)>.
(Overrides KeyedCollection<(Of <(<'TKey, TItem>)>)>..::..RemoveItem(Int32).) | |
| SetItem |
Replaces the element at the specified index.
(Overrides KeyedCollection<(Of <(<'TKey, TItem>)>)>..::..SetItem(Int32, TItem).) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| TryGet(String, T%) |
Gets the object associated with the specified key.
(Inherited from NamedObjectCollection<(Of <(<'T>)>)>.) |
Properties
| Name | Description | |
|---|---|---|
| ActiveState |
Gets the active state.
| |
| Comparer | Gets the generic equality comparer that is used to determine equality of keys in the collection. (Inherited from KeyedCollection<(Of <(<'String, State>)>)>.) | |
| Count | Gets the number of elements actually contained in the Collection<(Of <(<'T>)>)>. (Inherited from Collection<(Of <(<'State>)>)>.) | |
| Dictionary | Gets the lookup dictionary of the KeyedCollection<(Of <(<'TKey, TItem>)>)>. (Inherited from KeyedCollection<(Of <(<'String, State>)>)>.) | |
| FinalState |
Gets or sets the final state.
| |
| InitialState |
Gets or sets the initial state.
| |
| Item[([( TKey])]) | Gets the element with the specified key. (Inherited from KeyedCollection<(Of <(<'String, State>)>)>.) | |
| Item[([( Int32])]) | Gets or sets the element at the specified index. (Inherited from Collection<(Of <(<'State>)>)>.) | |
| Items | Gets a IList<(Of <(<'T>)>)> wrapper around the Collection<(Of <(<'T>)>)>. (Inherited from Collection<(Of <(<'State>)>)>.) | |
| Owner |
Gets the state that owns this state collection.
| |
| SaveHistory |
Gets or sets a value indicating whether this state collection has a "history state".
|
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| IList..::..Add | Adds an item to the IList. (Inherited from Collection<(Of <(<'State>)>)>.) | |
| IList..::..Contains | Determines whether the IList contains a specific value. (Inherited from Collection<(Of <(<'State>)>)>.) | |
| ICollection..::..CopyTo | (Inherited from Collection<(Of <(<'State>)>)>.) | |
| IEnumerable..::..GetEnumerator | Returns an enumerator that iterates through a collection. (Inherited from Collection<(Of <(<'State>)>)>.) | |
| IList..::..IndexOf | Determines the index of a specific item in the IList. (Inherited from Collection<(Of <(<'State>)>)>.) | |
| IList..::..Insert | Inserts an item into the IList at the specified index. (Inherited from Collection<(Of <(<'State>)>)>.) | |
| IList..::..IsFixedSize | Gets a value indicating whether the IList has a fixed size. (Inherited from Collection<(Of <(<'State>)>)>.) | |
| ICollection<(Of <<'(T>)>>)..::..IsReadOnly | Gets a value indicating whether the ICollection<(Of <(<'T>)>)> is read-only. (Inherited from Collection<(Of <(<'State>)>)>.) | |
| IList..::..IsReadOnly | Gets a value indicating whether the IList is read-only. (Inherited from Collection<(Of <(<'State>)>)>.) | |
| ICollection..::..IsSynchronized | Gets a value indicating whether access to the ICollection is synchronized (thread safe). (Inherited from Collection<(Of <(<'State>)>)>.) | |
| IList..::..Item | Gets or sets the element at the specified index. (Inherited from Collection<(Of <(<'State>)>)>.) | |
| IList..::..Remove | Removes the first occurrence of a specific object from the IList. (Inherited from Collection<(Of <(<'State>)>)>.) | |
| ICollection..::..SyncRoot | Gets an object that can be used to synchronize access to the ICollection. (Inherited from Collection<(Of <(<'State>)>)>.) |