1 instantiation of CommandArgument
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
127
var argument = new
CommandArgument
{ Name = name, Description = description, MultipleValues = multipleValues };
31 references to CommandArgument
Microsoft.AspNetCore.Shared.Tests (31)
CommandLineApplicationTests.cs (18)
37
CommandArgument
first = null;
38
CommandArgument
second = null;
58
CommandArgument
first = null;
59
CommandArgument
second = null;
78
CommandArgument
first = null;
79
CommandArgument
second = null;
119
CommandArgument
argument = null;
137
CommandArgument
first = null;
138
CommandArgument
second = null;
139
CommandArgument
third = null;
287
var
argument = app.Argument("first", "first argument");
300
var
argument = app.Argument("first", "first argument");
313
var
argument = app.Argument("first", "first argument");
326
var
argument = app.Argument("first", "first argument");
1028
var
a = app.Argument("name", "Pseudonym, of course");
1173
CommandArgument
first = null;
1174
CommandArgument
second = null;
1208
CommandArgument
first = null;
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (13)
40
Arguments = new List<
CommandArgument
>();
56
public readonly List<
CommandArgument
> Arguments;
110
public
CommandArgument
Argument(string name, string description, bool multipleValues = false)
115
public
CommandArgument
Argument(string name, string description, Action<
CommandArgument
> configuration, bool multipleValues = false)
117
var
lastArg = Arguments.LastOrDefault();
127
var
argument = new CommandArgument { Name = name, Description = description, MultipleValues = multipleValues };
146
IEnumerator<
CommandArgument
> arguments = null;
482
foreach (
var
arg in arguments)
601
private sealed class CommandArgumentEnumerator : IEnumerator<
CommandArgument
>
603
private readonly IEnumerator<
CommandArgument
> _enumerator;
605
public CommandArgumentEnumerator(IEnumerator<
CommandArgument
> enumerator)
610
public
CommandArgument
Current