diff options
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); |