MutuallyExclusiveConstraint(String[], Func?) Constructor

Definition

Assembly XenoAtom.CommandLine.dll

Creates a new mutually exclusive constraint.

public MutuallyExclusiveConstraint(string[] optionNames, Func<bool>? active = null)

Parameters

optionNames
String[]

Two or more option names (without prefix).

active
Func<Boolean>

A callback that indicates if this constraint is active.