/// <summary>
 /// Creates a new command line action given an implementation.
 /// </summary>
 /// <param name="actionHandler">The implementation of the action.</param>
 public CommandLineAction(Action <CommandLineArgumentsDefinition> actionHandler) : this()
 {
     ActionMethod = new ActionMethodInfo(actionHandler);
     Source       = ActionMethod;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates a new command line action given an implementation.
 /// </summary>
 /// <param name="actionHandler">The implementation of the action.</param>
 public CommandLineAction(Action<CommandLineArgumentsDefinition> actionHandler)
     : this()
 {
     ActionMethod = new ActionMethodInfo(actionHandler);
     Source = ActionMethod;
 }