1 instantiation of CommandArgument
rzc (1)
CommandLine\CommandLineApplication.cs (1)
121
var argument = new
CommandArgument
{ Name = name, Description = description, MultipleValues = multipleValues };
14 references to CommandArgument
rzc (14)
CommandLine\CommandLineApplication.cs (13)
34
Arguments = new List<
CommandArgument
>();
50
public readonly List<
CommandArgument
> Arguments;
104
public
CommandArgument
Argument(string name, string description, bool multipleValues = false)
109
public
CommandArgument
Argument(string name, string description, Action<
CommandArgument
> configuration, bool multipleValues = false)
111
var
lastArg = Arguments.LastOrDefault();
121
var
argument = new CommandArgument { Name = name, Description = description, MultipleValues = multipleValues };
140
IEnumerator<
CommandArgument
> arguments = null;
476
foreach (
var
arg in arguments)
595
private class CommandArgumentEnumerator : IEnumerator<
CommandArgument
>
597
private readonly IEnumerator<
CommandArgument
> _enumerator;
599
public CommandArgumentEnumerator(IEnumerator<
CommandArgument
> enumerator)
604
public
CommandArgument
Current
DiscoverCommand.cs (1)
30
public
CommandArgument
Assemblies { get; }