Table of Contents

CliResult.BindCalled Method

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

Creates a new instance of the definition class for called command and binds/populates the properties from the parse result.

Note that binding will be done only once per parse result and definition class, so calling this method consecutively for the same parse result and the same definition class will return the cached result.

public object BindCalled()

Returns

object

An instance of the definition class whose properties were bound/populated from the parse result.