123 references to Zero
dotnet-watch (7)
CommandLine\CommandLineOptions.cs (1)
240
if (optionResult.Option is Option<bool> boolOpt && boolOpt.Arity.Equals(ArgumentArity.
Zero
) && optionResult.Implicit)
CommandLine\DotnetWatchCommandDefinition.cs (6)
13
public readonly Option<bool> QuietOption = new("--quiet", "-q") { Description = Resources.Help_Quiet, Arity = ArgumentArity.
Zero
};
14
public readonly Option<bool> VerboseOption = new("--verbose") { Description = Resources.Help_Verbose, Arity = ArgumentArity.
Zero
};
15
public readonly Option<bool> ListOption = new("--list") { Description = Resources.Help_List, Arity = ArgumentArity.
Zero
};
16
public readonly Option<bool> NoHotReloadOption = new("--no-hot-reload") { Description = Resources.Help_NoHotReload, Arity = ArgumentArity.
Zero
};
17
public readonly Option<bool> NonInteractiveOption = new("--non-interactive") { Description = Resources.Help_NonInteractive, Arity = ArgumentArity.
Zero
};
73
Arity = ArgumentArity.
Zero
Microsoft.DotNet.Cli.Definitions (104)
Commands\Build\BuildCommandDefinition.cs (2)
31
Arity = ArgumentArity.
Zero
37
Arity = ArgumentArity.
Zero
Commands\BuildServer\BuildServerShutdownCommandDefinition.cs (3)
13
Arity = ArgumentArity.
Zero
19
Arity = ArgumentArity.
Zero
25
Arity = ArgumentArity.
Zero
Commands\Clean\CleanFileBasedAppArtifactsCommandDefinition.cs (1)
15
Arity = ArgumentArity.
Zero
,
Commands\DotNetCommandDefinition.cs (5)
53
Arity = ArgumentArity.
Zero
58
Arity = ArgumentArity.
Zero
64
Arity = ArgumentArity.
Zero
,
71
Arity = ArgumentArity.
Zero
76
Arity = ArgumentArity.
Zero
Commands\New\NewListCommandDefinition.cs (1)
22
Arity = ArgumentArity.
Zero
Commands\New\NewSearchCommandDefinition.cs (1)
20
Arity = ArgumentArity.
Zero
Commands\New\NewUpdateCommandDefinition.cs (1)
41
Arity = ArgumentArity.
Zero
Commands\New\SharedOptionsFactory.cs (1)
126
Arity = ArgumentArity.
Zero
,
Commands\NuGet\NuGetCommandDefinition.cs (15)
16
Arity = ArgumentArity.
Zero
59
Arity = ArgumentArity.
Zero
66
Arity = ArgumentArity.
Zero
73
Arity = ArgumentArity.
Zero
98
Arity = ArgumentArity.
Zero
103
Arity = ArgumentArity.
Zero
108
Arity = ArgumentArity.
Zero
134
Arity = ArgumentArity.
Zero
149
Arity = ArgumentArity.
Zero
154
Arity = ArgumentArity.
Zero
159
Arity = ArgumentArity.
Zero
166
Arity = ArgumentArity.
Zero
202
Arity = ArgumentArity.
Zero
226
Arity = ArgumentArity.
Zero
376
Arity = ArgumentArity.
Zero
Commands\Pack\PackCommandDefinition.cs (4)
33
Arity = ArgumentArity.
Zero
39
Arity = ArgumentArity.
Zero
45
Arity = ArgumentArity.
Zero
51
Arity = ArgumentArity.
Zero
Commands\Package\PackageAddCommandDefinition.cs (2)
30
Arity = ArgumentArity.
Zero
42
Arity = ArgumentArity.
Zero
Commands\Package\PackageListCommandDefinition.cs (8)
22
Arity = ArgumentArity.
Zero
28
Arity = ArgumentArity.
Zero
34
Arity = ArgumentArity.
Zero
47
Arity = ArgumentArity.
Zero
53
Arity = ArgumentArity.
Zero
59
Arity = ArgumentArity.
Zero
65
Arity = ArgumentArity.
Zero
86
Arity = ArgumentArity.
Zero
Commands\Package\PackageSearchCommandDefinition.cs (2)
42
Arity = ArgumentArity.
Zero
50
Arity = ArgumentArity.
Zero
Commands\Project\ProjectConvertCommandDefinition.cs (3)
26
Arity = ArgumentArity.
Zero
,
34
Arity = ArgumentArity.
Zero
,
40
Arity = ArgumentArity.
Zero
,
Commands\Publish\PublishCommandDefinition.cs (1)
38
Arity = ArgumentArity.
Zero
Commands\Restore\RestoreCommandDefinition.cs (4)
37
Arity = ArgumentArity.
Zero
43
Arity = ArgumentArity.
Zero
55
Arity = ArgumentArity.
Zero
127
Arity = ArgumentArity.
Zero
,
Commands\Run\RunCommandDefinition.cs (4)
43
Arity = ArgumentArity.
Zero
60
Arity = ArgumentArity.
Zero
68
Arity = ArgumentArity.
Zero
80
Arity = ArgumentArity.
Zero
,
Commands\Solution\SolutionListCommandDefinition.cs (1)
13
Arity = ArgumentArity.
Zero
Commands\Test\TestCommandDefinition.MicrosoftTestingPlatform.cs (4)
93
Arity = ArgumentArity.
Zero
99
Arity = ArgumentArity.
Zero
113
Arity = ArgumentArity.
Zero
119
Arity = ArgumentArity.
Zero
Commands\Test\TestCommandDefinition.VSTest.cs (6)
23
Arity = ArgumentArity.
Zero
71
Arity = ArgumentArity.
Zero
90
Arity = ArgumentArity.
Zero
96
Arity = ArgumentArity.
Zero
104
Arity = ArgumentArity.
Zero
110
Arity = ArgumentArity.
Zero
Commands\Tool\StoreCommandDefinition.cs (2)
60
Arity = ArgumentArity.
Zero
66
Arity = ArgumentArity.
Zero
Commands\Tool\ToolAppliedOption.cs (6)
13
Arity = ArgumentArity.
Zero
,
19
Arity = ArgumentArity.
Zero
,
26
Arity = ArgumentArity.
Zero
51
Arity = ArgumentArity.
Zero
57
Arity = ArgumentArity.
Zero
81
Arity = ArgumentArity.
Zero
Commands\Tool\ToolRunCommandDefinition.cs (1)
26
Arity = ArgumentArity.
Zero
Commands\Tool\ToolSearchCommandDefinition.cs (1)
19
Arity = ArgumentArity.
Zero
Commands\Workload\WorkloadCommandDefinition.cs (2)
29
Arity = ArgumentArity.
Zero
35
Arity = ArgumentArity.
Zero
Commands\Workload\WorkloadCommandDefinitionBase.cs (2)
47
Arity = ArgumentArity.
Zero
60
Arity = ArgumentArity.
Zero
Commands\Workload\WorkloadUpdateCommandDefinition.cs (2)
20
Arity = ArgumentArity.
Zero
26
Arity = ArgumentArity.
Zero
Common\CommonOptions.cs (10)
18
Arity = ArgumentArity.
Zero
,
194
Arity = ArgumentArity.
Zero
227
Arity = ArgumentArity.
Zero
233
Arity = ArgumentArity.
Zero
,
255
Arity = acceptArgument ? ArgumentArity.ZeroOrOne : ArgumentArity.
Zero
,
269
Arity = ArgumentArity.
Zero
275
Arity = ArgumentArity.
Zero
,
291
Arity = ArgumentArity.
Zero
359
Arity = ArgumentArity.
Zero
378
Arity = ArgumentArity.
Zero
Common\ImplicitRestoreOptions.cs (5)
41
Arity = ArgumentArity.
Zero
55
Arity = ArgumentArity.
Zero
62
Arity = ArgumentArity.
Zero
69
Arity = ArgumentArity.
Zero
76
Arity = ArgumentArity.
Zero
Common\NuGetRestoreOptions.cs (4)
14
Arity = ArgumentArity.
Zero
,
22
Arity = ArgumentArity.
Zero
,
28
Arity = ArgumentArity.
Zero
,
35
Arity = ArgumentArity.
Zero
,
NuGet.CommandLine.XPlat (9)
Commands\ConfigCommands\ConfigCommand.cs (2)
20
Arity = ArgumentArity.
Zero
55
Arity = ArgumentArity.
Zero
,
Commands\Package\Download\PackageDownloadCommand.cs (2)
40
Arity = ArgumentArity.
Zero
58
Arity = ArgumentArity.
Zero
Commands\PackageSearch\PackageSearchCommand.cs (4)
45
Arity = ArgumentArity.
Zero
51
Arity = ArgumentArity.
Zero
57
Arity = ArgumentArity.
Zero
92
Arity = ArgumentArity.
Zero
Commands\Why\WhyCommand.cs (1)
114
Arity = ArgumentArity.
Zero
System.CommandLine (2)
Help\HelpOption.cs (1)
37
Arity = ArgumentArity.
Zero
;
VersionOption.cs (1)
39
Arity = ArgumentArity.
Zero
;
System.CommandLine.StaticCompletions (1)
HelpGenerationExtensions.cs (1)
114
public static bool IsFlag(this Option option) => option.Arity.Equals(ArgumentArity.
Zero
);