Bind(Type, Boolean) |
Creates a new instance of the command definition class 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. If the command line input does not contain the indicated definition class (as self or as a parent), this method will return unless returnEmpty is set to , in that case it will return an empty instance with default property values. |
BindTDefinition(Boolean) |
Creates a new instance of the command definition class 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. If the command line input does not contain the indicated definition class (as self or as a parent), this method will return unless returnEmpty is set to , in that case it will return an empty instance with default property values. |