Namespace: Albatross.Expression.Utility
Application setup class that configures dependency injection services for the Expression Utility. Registers command handlers, parsers, execution context, and configuration services.
public class MySetup : Albatross.CommandLine.Setup
Inheritance Object → Setup → MySetup
protected string RootCommandDescription { get; }
public RootCommand RootCommand { get; }
RootCommand
public CommandLineBuilder CommandBuilder { get; }
CommandLineBuilder
public MySetup()
Configures the dependency injection container with application-specific services. Registers expression parser, custom execution context, configuration, and command handlers.
public void RegisterServices(InvocationContext context, IConfiguration configuration, EnvironmentSetting envSetting, IServiceCollection services)
context
InvocationContext
The invocation context from the command line.
configuration
IConfiguration
Application configuration instance.
envSetting
EnvironmentSetting
Environment-specific settings.
services
IServiceCollection
Service collection to register dependencies into.