ParseOptions.Merge Method

Merges the options in this instance with the options from the ParseOptionsAttribute attribute.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public void Merge(
	ParseOptionsAttribute attribute
)

Parameters

attribute  ParseOptionsAttribute
The ParseOptionsAttribute.

Remarks

For all properties that have an equivalent in the ParseOptionsAttribute, class, if the property in this instance is null, it will be set to the value from the ParseOptionsAttribute class.

Exceptions

ArgumentNullExceptionattribute is null.

See Also