11 writes to Action
dotnet-format (4)
Commands\FormatAnalyzersCommand.cs (1)
25command.Action = s_analyzerHandler;
Commands\FormatStyleCommand.cs (1)
25command.Action = s_styleHandler;
Commands\FormatWhitespaceCommand.cs (1)
26command.Action = s_formattingHandler;
Commands\RootFormatCommand.cs (1)
28formatCommand.Action = s_formatCommandHandler;
Microsoft.TemplateEngine.Cli (1)
Commands\BaseCommand.cs (1)
92Action = new CommandAction(this);
System.CommandLine (6)
Command.cs (6)
117Action = new AnonymousSynchronousCommandLineAction(context => 135Action = new AnonymousSynchronousCommandLineAction(action); 148Action = new AnonymousAsynchronousCommandLineAction(async (context, cancellationToken) => 172Action = new AnonymousAsynchronousCommandLineAction(async (context, _) => 196Action = new AnonymousAsynchronousCommandLineAction(async (context, _) => 213Action = new AnonymousAsynchronousCommandLineAction(action);
5 references to Action
dotnet (1)
Commands\DotNetCommandFactory.cs (1)
39if (command?.Action is AsynchronousCommandLineAction action)
System.CommandLine (4)
ParseResult.cs (1)
335public CommandLineAction? Action => _action ?? CommandResult.Command.Action;
Parsing\ParseOperation.cs (3)
420if (_innermostCommandResult is { Command: { Action: null, HasSubcommands: true } }) 426if (_innermostCommandResult is { Command.Action.ClearsParseErrors: true } && 465if (symbol is Command { Action: { } commandAction } command)