Exemple #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;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NCommanderContext"/> class.
 /// </summary>
 public NCommanderContext()
 {
     Configuration = new CommandConfiguration();
     AddEntryAssembly(); // default value
 }
Exemple #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;
 }