ICommandLineExecutor Interface

Summary

ICommandLineExecutor
graph BT Type["ICommandLineExecutor"] class Type type-node

Syntax

public interface ICommandLineExecutor

Attributes

Type Description
NullableContextAttribute

Properties

Name Value Summary
Application CommandLineApplication
Gets the application.
ApplicationState IApplicationState
Gets the state of the application.
IsDefaultCommand bool
Gets a value indicating whether this instance is default command.

Methods

Name Value Summary
Execute(IServiceProvider) int
Executes the specified service provider.
ExecuteAsync(IServiceProvider, CancellationToken) Task<int>
Executes the specified service provider.

Extension Methods