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