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)
 {
 }