ArgumentsSpec(Func<String, Boolean>) Constructor

Definition

Assembly CliInvoke.Core.dll

Initialises the ArgumentsSpec with the specified argument validation logic.

public ArgumentsSpec(Func<string, bool> argumentValidationLogic)

Parameters

argumentValidationLogic
Func<String, Boolean>

The validation logic to use to decide whether to allow arguments passed to the spec.