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