Manages a collection of States.
Namespace: DigitalRune.Game.StatesAssembly: DigitalRune.Game (in DigitalRune.Game.dll) Version: 1.0.0.0 (1.0.1.9459)
Syntax
| C# |
|---|
public class StateCollection : NamedObjectCollection<State> |
| Visual Basic |
|---|
Public Class StateCollection _ Inherits NamedObjectCollection(Of State) |
| Visual C++ |
|---|
public ref class StateCollection : public NamedObjectCollection<State^> |
Remarks
nullNothingnullptra null reference (Nothing in Visual Basic) items or duplicate items are not allowed in this collection. The
collection has a few special state references: InitialState,
FinalState, and ActiveState. These references must refer to states
contained in the collection. If a referenced state is removed from the collection the
reference is set to nullNothingnullptra null reference (Nothing in Visual Basic).
Inheritance Hierarchy
System..::..Object
System.Collections.ObjectModel..::..Collection<(Of <(<'State>)>)>
System.Collections.ObjectModel..::..KeyedCollection<(Of <(<'String, State>)>)>
DigitalRune.Collections..::..NamedObjectCollection<(Of <(<'State>)>)>
DigitalRune.Game.States..::..StateCollection
System.Collections.ObjectModel..::..Collection<(Of <(<'State>)>)>
System.Collections.ObjectModel..::..KeyedCollection<(Of <(<'String, State>)>)>
DigitalRune.Collections..::..NamedObjectCollection<(Of <(<'State>)>)>
DigitalRune.Game.States..::..StateCollection