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