Provides a registry of discovered Commands and Factories, as well as methods for discovering them.
Exemple #1
0
 // Constructor
 public Context(Registry registry, Func<CommandParameter, object> missingArgHandler)
 {
     _registry = registry;
     MissingArgHandler = missingArgHandler;
 }
Exemple #2
0
 // Constructor
 public Context(Registry registry)
     : this(registry, null)
 {
 }