예제 #1
0
 internal VerbCompiledCommand(
     BaseCommandManager commandManager,
     MethodInfo method,
     object instance)
     : base(method, instance)
 {
     CommandManager = commandManager ?? throw new ArgumentNullException(nameof(commandManager));
 }
예제 #2
0
 internal VerbCompiledCommand(
     BaseCommandManager commandManager,
     MethodInfo method,
     object instance,
     IEnumerable <string> names,
     string description            = "No description provided for this command.",
     bool isRaw                    = false,
     IEnumerable <string> examples = null)
     : base(method, instance, names, description, isRaw, examples)
 {
     CommandManager = commandManager ?? throw new ArgumentNullException(nameof(commandManager));
 }