Summary
Logging Builder
Implements the
ICommandLineBuilder
Implements the ICommandLineConventionContext
- Assembly
- Rocket
.Surgery .Extensions .CommandLine .dll - Namespace
- Rocket
.Surgery .Extensions .CommandLine - Interfaces
- Base Types
graph BT
Type-->Base0["ConventionBuilder<ICommandLineBuilder, ICommandLineConvention, CommandLineConventionDelegate>"]
Base0-->Base1["ConventionContainerBuilder<ICommandLineBuilder, ICommandLineConvention, CommandLineConventionDelegate>"]
Base1-->Base2["Object"]
Type-.->Interface0["ICommandLineBuilder"]
click Interface0 "/api/Rocket.Surgery.Extensions.CommandLine/ICommandLineBuilder"
Type-.->Interface1["IConventionBuilder<ICommandLineBuilder, ICommandLineConvention, CommandLineConventionDelegate>"]
Type-.->Interface2["IConventionContainer<ICommandLineBuilder, ICommandLineConvention, CommandLineConventionDelegate>"]
Type-.->Interface3["ICommandLineConventionContext"]
click Interface3 "/api/Rocket.Surgery.Extensions.CommandLine/ICommandLineConventionContext"
Type-.->Interface4["IConventionContext"]
click Interface4 "/api/Rocket.Surgery.Conventions/IConventionContext"
Type["CommandLineBuilder"]
class Type type-node
Syntax
public class CommandLineBuilder :
ConventionBuilder<ICommandLineBuilder, ICommandLineConvention, CommandLineConventionDelegate>,
ICommandLineBuilder,
IConventionBuilder<ICommandLineBuilder, ICommandLineConvention, CommandLineConventionDelegate>,
IConventionContainer<ICommandLineBuilder, ICommandLineConvention, CommandLineConventionDelegate>,
ICommandLineConventionContext, IConventionContext
Attributes
Type | Description |
---|---|
Nullable |
|
NullableAttribute |
Constructors
Name | Summary |
---|---|
CommandLineBuilder |
Initializes a new instance of the CommandLineBuilder class.
|
Properties
Name | Value | Summary |
---|---|---|
Command |
IConventionBuilder |
Gets the command line application conventions.
|
Logger | ILogger |
A logger that is configured to work with each convention item
|
Methods
Name | Value | Summary |
---|---|---|
AddCommand |
Command |
Adds the command.
|
AddCommand |
Command |
Adds the command.
|
AddCommand |
Command |
Adds the command.
|
Build |
ICommandLine |
Builds the specified entry assembly.
|
OnParse |
ICommandLineBuilder |
Called when [parse].
|
OnRun |
ICommandLineBuilder |
Called when [run].
|
OnRun |
ICommandLineBuilder |
Called when [run].
|
OnRun |
ICommandLineBuilder |
Called when [run].
|
OnRun |
ICommandLineBuilder |
Called when [run].
|
OnRunAsync |
ICommandLineBuilder |
Called when [run].
|
Extension Methods
Name | Value | Summary |
---|---|---|
SetBackingValue |
T |
Sets the backing value.
From ValueExtensions
|
With |
TBuilder |
Adds the specified dictionary to the provided dictionary.
|