2 types derived from CommandLineAction
System.CommandLine (2)
Invocation\AsynchronousCommandLineAction.cs (1)
10
public abstract class AsynchronousCommandLineAction :
CommandLineAction
Invocation\SynchronousCommandLineAction.cs (1)
9
public abstract class SynchronousCommandLineAction :
CommandLineAction
30 references to CommandLineAction
System.CommandLine (30)
Command.cs (2)
98
/// Gets or sets the <see cref="
CommandLineAction
"/> for the Command. The handler represents the action
105
public
CommandLineAction
? Action { get; set; }
Completions\SuggestDirective.cs (2)
11
private
CommandLineAction
? _action;
19
public override
CommandLineAction
? Action
Directive.cs (2)
33
/// Gets or sets the <see cref="
CommandLineAction
"/> for the Directive. The handler represents the action
36
public virtual
CommandLineAction
? Action { get; set; }
EnvironmentVariablesDirective.cs (2)
14
private
CommandLineAction
? _action;
22
public override
CommandLineAction
? Action
Help\HelpOption.cs (2)
13
private
CommandLineAction
? _action;
41
public override
CommandLineAction
? Action
Invocation\CommandLineAction.cs (1)
21
/// Indicates that the action clears any parse errors associated with symbols other than one that owns the <see cref="
CommandLineAction
"/>.
Invocation\InvocationPipeline.cs (1)
25
var
action = parseResult.PreActions[i];
InvocationConfiguration.cs (1)
19
/// that can be passed to a <see cref="
CommandLineAction
"/> during invocation.
Option.cs (2)
128
/// Gets or sets the <see cref="
CommandLineAction
"/> for the Option. The handler represents the action
131
public virtual
CommandLineAction
? Action { get; set; }
ParseDiagramDirective.cs (2)
12
private
CommandLineAction
? _action;
22
public override
CommandLineAction
? Action
ParseResult.cs (8)
22
private readonly
CommandLineAction
? _action;
23
private readonly List<
CommandLineAction
>? _preActions;
34
CommandLineAction
? action = null,
35
List<
CommandLineAction
>? preActions = null)
312
var
action = PreActions[i];
332
/// Gets the <see cref="
CommandLineAction
"/> for parsed result. The handler represents the action
335
public
CommandLineAction
? Action => _action ?? CommandResult.Command.Action;
337
internal IReadOnlyList<
CommandLineAction
>? PreActions => _preActions;
Parsing\ParseOperation.cs (3)
21
private
CommandLineAction
? _primaryAction;
22
private List<
CommandLineAction
>? _preActions;
372
private void AddPreAction(
CommandLineAction
action)
VersionOption.cs (2)
16
private
CommandLineAction
? _action;
43
public override
CommandLineAction
? Action