System.CommandLine.Binding Namespace

Provides types for binding command-line input to objects, including support for custom types, binding contexts, and value descriptors.

Classes

Name Description
BindingContext

Creates object instances based on command line parser results, injected services, and other value sources.

ConstructorDescriptor
HandlerDescriptor
ModelBinder
ModelBinder<TModel>
ModelDescriptor
ParameterDescriptor
PropertyDescriptor

Structs

Name Description
BoundValue

A value created by binding command line input.

Interfaces

Name Description
IConsoleFactory
IMethodDescriptor
IValueDescriptor

Describes and provides access to a bindable named value.

IValueSource

Binds a value from a BindingContext based on a IValueDescriptor.