示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CommandLookup"/> class.
 /// </summary>
 /// <param name="configuration">Configuration</param>
 public CommandLookup(CommandConfiguration configuration)
 {
     _assemblies = configuration.CommandAssemblies;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NCommanderContext"/> class.
 /// </summary>
 public NCommanderContext()
 {
     Configuration = new CommandConfiguration();
     AddEntryAssembly(); // default value
 }
示例#3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CommandLookup"/> class.
 /// </summary>
 /// <param name="configuration">Configuration</param>
 public CommandLookup(CommandConfiguration configuration)
 {
     _assemblies = configuration.CommandAssemblies;
 }