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