Comparer Property
Gets or sets the string comparer to use when comparing user input
against Yes/No choices.
public StringComparer Comparer { get; set; }
- Namespace
- Spectre
.Console - Containing Type
- ConfirmationPrompt
- Property Type
- StringComparer
Remarks
Defaults to
System.StringComparer.CurrentCultureIgnoreCase
.