Skip to content

ReplParameterMode

Controls whether a handler parameter accepts named options, positional arguments, or both.

public enum ReplParameterMode

Parameter can bind only from positional arguments.

ArgumentOnly = 2

ReplParameterMode

Parameter can bind from named option first, then positional fallback.

OptionAndPositional = 0

ReplParameterMode

Parameter can bind only from named options.

OptionOnly = 1

ReplParameterMode