Method ForKeyword
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
ForKeyword(string, IReadOnlyList<string>, string)
Asks for one of a list of keywords: "Erase source objects? [Yes/No] <No>:".
public static CadPrompt ForKeyword(string message, IReadOnlyList<string> keywords, string defaultValue = null)
Parameters
messagestringThe message.
keywordsIReadOnlyList<string>The keywords.
defaultValuestringThe default Enter takes; null for none.
Returns
- CadPrompt
The prompt.