CliBindingContextGetValue(ParseResult, Option) Method
Gets the parsed or default value for the specified option.
Extended version for DotMake CLI which can bind custom classes,
does not fall back to internal ArgumentConverter.GetDefaultValue which does not support all IList compatible types.
Namespace: DotMake.CommandLineAssembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 2.6.7
public Object GetValue(
ParseResult parseResult,
Option option
)
- parseResult ParseResult
- The parse result.
- option Option
- The option for which to get a value.
ObjectThe parsed value or a configured default.