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