diff options
author | Wouter Tinus <win.acme.simple@gmail.com> | 2019-12-14 09:02:22 +0100 |
---|---|---|
committer | Wouter Tinus <win.acme.simple@gmail.com> | 2019-12-14 09:02:22 +0100 |
commit | 598a42efffcd11b308bfc7cb2a15e021a99e442d (patch) | |
tree | 8b7afedd3d662fac603a8b7c22791b67b6372b28 /src/main.lib/Services/Interfaces/IInputService.cs | |
parent | f084f256ed0fda699acdb86c51f95b1e5478c34f (diff) | |
download | letsencrypt-win-simple-598a42efffcd11b308bfc7cb2a15e021a99e442d.zip letsencrypt-win-simple-598a42efffcd11b308bfc7cb2a15e021a99e442d.tar.gz letsencrypt-win-simple-598a42efffcd11b308bfc7cb2a15e021a99e442d.tar.bz2 |
null annotations progress
Diffstat (limited to 'src/main.lib/Services/Interfaces/IInputService.cs')
-rw-r--r-- | src/main.lib/Services/Interfaces/IInputService.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.lib/Services/Interfaces/IInputService.cs b/src/main.lib/Services/Interfaces/IInputService.cs index a756845..d9dd8fd 100644 --- a/src/main.lib/Services/Interfaces/IInputService.cs +++ b/src/main.lib/Services/Interfaces/IInputService.cs @@ -6,10 +6,10 @@ namespace PKISharp.WACS.Services { public interface IInputService { - Task<TResult> ChooseFromList<TSource, TResult>(string what, IEnumerable<TSource> options, Func<TSource, Choice<TResult>> creator, string nullChoiceLabel = null); + Task<TResult> ChooseFromList<TSource, TResult>(string what, IEnumerable<TSource> options, Func<TSource, Choice<TResult>> creator, string? nullChoiceLabel = null); Task<TResult> ChooseFromList<TResult>(string what, List<Choice<TResult>> choices); Task<bool> PromptYesNo(string message, bool defaultOption); - Task<string> ReadPassword(string what); + Task<string?> ReadPassword(string what); Task<string> RequestString(string what); Task<string> RequestString(string[] what); void Show(string? label, string? value = null, bool first = false, int level = 0); |