Class CommandLineBinderExtensions
- Namespace
- Ubiquity.CommandLineParsing
- Assembly
- Ubiquity.CommandlineParsing.dll
Utility extension class to simplify parsing/binding operations.
public static class CommandLineBinderExtensions
- Inheritance
-
CommandLineBinderExtensions
- Inherited Members
Methods
BindArguments<TResult>(TResult, IImmutableList<ICommandLineArgument>)
Binds a parsed argument list to an object instance.
public static TResult BindArguments<TResult>(this TResult self, IImmutableList<ICommandLineArgument> parseResults)
Parameters
selfTResultThe object instance to bind.
parseResultsIImmutableList<ICommandLineArgument>Parsed argument list to bind.
Returns
- TResult
The input
selfafter binding for fluent style use.
Type Parameters
TResultType of the object to bind to.