Table of Contents

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

self TResult

The object instance to bind.

parseResults IImmutableList<ICommandLineArgument>

Parsed argument list to bind.

Returns

TResult

The input self after binding for fluent style use.

Type Parameters

TResult

Type of the object to bind to.