2 overrides of Action
System.CommandLine (2)
Help\HelpOption.cs (1)
41public override CommandLineAction? Action
VersionOption.cs (1)
43public override CommandLineAction? Action
5 writes to Action
dotnet-aot (5)
parent\dotnet\Parser.cs (5)
235rootCommand.VersionOption.Action = new PrintVersionAction(rootCommand.VersionOption); 236rootCommand.InfoOption.Action = new PrintInfoAction(rootCommand.InfoOption); 237rootCommand.CliSchemaOption.Action = new PrintCliSchemaAction(rootCommand.CliSchemaOption); 241rootCommand.ListSdksOption.Action = new AotFallbackOptionAction(rootCommand.ListSdksOption); 242rootCommand.ListRuntimesOption.Action = new AotFallbackOptionAction(rootCommand.ListRuntimesOption);
6 references to Action
System.CommandLine (6)
Parsing\ParseOperation.cs (6)
217if (option.Action is not null) 222if (option.Action.Terminating) 224_primaryAction = option.Action; 228AddPreAction(option.Action); 386if (kvp is { Key: Option { Action: { Terminating: false } action }, Value: OptionResult { Implicit: true } } && 450if (symbol is Option { Action: { } optionAction } option)