1 instantiation of CommandArgument
ClientSample (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
127
var argument = new
CommandArgument
{ Name = name, Description = description, MultipleValues = multipleValues };
18 references to CommandArgument
ClientSample (18)
HubSample.cs (1)
22
var
baseUrlArgument = cmd.Argument("<BASEURL>", "The URL to the Chat Hub to test");
Program.cs (1)
36
var
commandArgument = cmd.Argument("<COMMAND>", "The command to get help for");
RawSample.cs (1)
25
var
baseUrlArgument = cmd.Argument("<BASEURL>", "The URL to the Chat EndPoint to test");
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
StreamingSample.cs (1)
19
var
baseUrlArgument = cmd.Argument("<BASEURL>", "The URL to the Chat Hub to test");
UploadSample.cs (1)
22
var
baseUrlArgument = cmd.Argument("<BASEURL>", "The URL to the Chat Hub to test");