ICommandLineBuilder Interface

Summary

ILoggingConvention Implements the IConventionBuilder<TBuilder, TConvention, TDelegate>
graph BT Type-.->Interface0["IConventionBuilder<ICommandLineBuilder, ICommandLineConvention, CommandLineConventionDelegate>"] Type-.->Interface1["IConventionContainer<ICommandLineBuilder, ICommandLineConvention, CommandLineConventionDelegate>"] Type["ICommandLineBuilder"] class Type type-node Implementing0["CommandLineBuilder"]-.->Type click Implementing0 "/api/Rocket.Surgery.Extensions.CommandLine/CommandLineBuilder"

Syntax

public interface ICommandLineBuilder : 
    IConventionBuilder<ICommandLineBuilder, ICommandLineConvention, CommandLineConventionDelegate>, 
    IConventionContainer<ICommandLineBuilder, ICommandLineConvention, CommandLineConventionDelegate>

Attributes

Type Description
NullableContextAttribute

Methods

Name Value Summary
AddCommand(string, Action<CommandLineApplication>, bool) CommandLineApplication
Adds the command.
AddCommand<T>(Action<CommandLineApplication<T>>, bool) CommandLineApplication<T>
Adds the command.
AddCommand<T>(string, Action<CommandLineApplication<T>>, bool) CommandLineApplication<T>
Adds the command.
Build(Assembly) ICommandLine
Builds the specified entry assembly.
OnParse(OnParseDelegate) ICommandLineBuilder
Called when [parse].
OnRun(OnRunAsyncCancellableDelegate) ICommandLineBuilder
Called when [run].
OnRun(OnRunAsyncDelegate) ICommandLineBuilder
Called when [run].
OnRun(OnRunDelegate) ICommandLineBuilder
Called when [run].
OnRun<T>() ICommandLineBuilder
Called when [run].
OnRunAsync<T>() ICommandLineBuilder
Called when [run].

Extension Methods

See Also