-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
It would be nice to have a method that returns all commands in the command store.
Currently I am using the reflection way as per the samples to retrieve all commands:
Finite.Commands/samples/Console/LineReaderService.cs
Lines 45 to 48 in 773bb4a
| var commandCount = ((List<ICommand>)_commandStore.GetType() | |
| .GetField("_currentCommands", | |
| BindingFlags.NonPublic | BindingFlags.Instance)! | |
| .GetValue(_commandStore)!) |
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request