summaryrefslogtreecommitdiffstats
path: root/src/main.lib/Services/Interfaces/IInputService.cs
diff options
context:
space:
mode:
authorWouter Tinus <win.acme.simple@gmail.com>2020-02-14 08:12:43 +0100
committerWouter Tinus <win.acme.simple@gmail.com>2020-02-14 08:12:43 +0100
commit599f8c7850cb7b376ecff73b3ab6a2826b82fb5e (patch)
treeadba0e8618602736c9a8abb2abc3cb7188988b4f /src/main.lib/Services/Interfaces/IInputService.cs
parent1ff397bbc044e8f01a2ff0a19ccf154f2d2b7f09 (diff)
downloadletsencrypt-win-simple-599f8c7850cb7b376ecff73b3ab6a2826b82fb5e.zip
letsencrypt-win-simple-599f8c7850cb7b376ecff73b3ab6a2826b82fb5e.tar.gz
letsencrypt-win-simple-599f8c7850cb7b376ecff73b3ab6a2826b82fb5e.tar.bz2
quick select in renewal manager
Diffstat (limited to 'src/main.lib/Services/Interfaces/IInputService.cs')
-rw-r--r--src/main.lib/Services/Interfaces/IInputService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.lib/Services/Interfaces/IInputService.cs b/src/main.lib/Services/Interfaces/IInputService.cs
index 78d155c..b92a1ab 100644
--- a/src/main.lib/Services/Interfaces/IInputService.cs
+++ b/src/main.lib/Services/Interfaces/IInputService.cs
@@ -8,7 +8,7 @@ namespace PKISharp.WACS.Services
{
Task<TResult?> ChooseOptional<TSource, TResult>(string what, IEnumerable<TSource> options, Func<TSource, Choice<TResult?>> creator, string nullChoiceLabel) where TResult : class;
Task<TResult> ChooseRequired<TSource, TResult>(string what, IEnumerable<TSource> options, Func<TSource, Choice<TResult>> creator);
- Task<TResult> ChooseFromMenu<TResult>(string what, List<Choice<TResult>> choices);
+ Task<TResult> ChooseFromMenu<TResult>(string what, List<Choice<TResult>> choices, Func<string, Choice<TResult>>? unexpected = null);
Task<bool> PromptYesNo(string message, bool defaultOption);
Task<string?> ReadPassword(string what);
Task<string> RequestString(string what);