CommandQueue Methods |
The CommandQueue type exposes the following members.
Name | Description | |
---|---|---|
![]() | Clear |
Clears this instance.
|
![]() | DequeueLastExecutedCommand |
Dequeues the last executed command. This is done in periods which aren't undoable.
|
![]() | DoCurrentCommand |
Calls the current command's Do() method, if there's a command left to execute. It first makes the next command the current command and then executes it.
|
![]() | EnqueueCommand |
Enqueues the command specified and makes it the current command.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (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 collection.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | RedoCurrentCommand |
Calls the current command's Redo() method, if there's a command left to execute. It first makes the next command the current command and then executes it.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | UndoPreviousCommand |
Calls the last executed command's Undo method, if there's was a command last executed. It then makes the previous command the current command.
|
Name | Description | |
---|---|---|
![]() | SetEqualCommandBase(IEnumerableCommandBase) | Overloaded.
Checks whether the enumerable to compare with is equal to the source enumerable, element wise. If elements are in a different order, the
method will still return true. This is different from SequenceEqual which does take order into account
(Defined by IEnumerableExtensionMethods.) |
![]() | SetEqualCommandBase(IEnumerableCommandBase, IEqualityComparerCommandBase) | Overloaded.
Checks whether the enumerable to compare with is equal to the source enumerable, element wise. If elements are in a different order, the
method will still return true. This is different from SequenceEqual which does take order into account
(Defined by IEnumerableExtensionMethods.) |
![]() | ToFilteringBindingListCommandBase |
Converts the passed in enumerable to a FilteringBindingList
(Defined by ExtensionMethods.) |
![]() | ToHashSetCommandBase |
Creates a new hashset and adds the source to it.
(Defined by IEnumerableExtensionMethods.) |
![]() | ToListSafeCommandBase |
Converts the passed in enumerable to a List(Of T). If toEnumerate is a CommandifiedList(Of T) it will lock on its SyncRoot if it's a synchronized CommandifiedList.
if it's not a commandified list, it will simply call ToList() on the enumerable. If toEnumerate is null, null is returned.
(Defined by ExtensionMethods.) |
![]() | ToReadOnlyCollectionTDestination |
Converts the enumerable to a ReadOnlyCollection.
(Defined by IEnumerableExtensionMethods.) |
Name | Description | |
---|---|---|
![]() ![]() | IEnumerableGetEnumerator |
Returns an enumerator that iterates through a collection.
|