diff options
author | Wouter Tinus <win.acme.simple@gmail.com> | 2020-02-14 08:12:43 +0100 |
---|---|---|
committer | Wouter Tinus <win.acme.simple@gmail.com> | 2020-02-14 08:12:43 +0100 |
commit | 599f8c7850cb7b376ecff73b3ab6a2826b82fb5e (patch) | |
tree | adba0e8618602736c9a8abb2abc3cb7188988b4f /src/main.lib/Services/Interfaces/IInputService.cs | |
parent | 1ff397bbc044e8f01a2ff0a19ccf154f2d2b7f09 (diff) | |
download | letsencrypt-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.cs | 2 |
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); |