diff options
author | Wouter Tinus <win.acme.simple@gmail.com> | 2019-12-01 08:56:44 +0100 |
---|---|---|
committer | Wouter Tinus <win.acme.simple@gmail.com> | 2019-12-01 08:56:44 +0100 |
commit | 4cfd63a5ca3c490e1da9409b8df84f1a5061e372 (patch) | |
tree | 4fab3faa63fb2259944ef6f0b97cf6a021d4330d /src/main.lib/Services/Interfaces/IInputService.cs | |
parent | 83816217b3b189998eb9f5313fb6f5e708a7a218 (diff) | |
parent | 63f042d9d7cee1c703ebde22fdbbe332a097779e (diff) | |
download | letsencrypt-win-simple-4cfd63a5ca3c490e1da9409b8df84f1a5061e372.zip letsencrypt-win-simple-4cfd63a5ca3c490e1da9409b8df84f1a5061e372.tar.gz letsencrypt-win-simple-4cfd63a5ca3c490e1da9409b8df84f1a5061e372.tar.bz2 |
Merge branch '2.1.2' into iisbindings
Diffstat (limited to 'src/main.lib/Services/Interfaces/IInputService.cs')
-rw-r--r-- | src/main.lib/Services/Interfaces/IInputService.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main.lib/Services/Interfaces/IInputService.cs b/src/main.lib/Services/Interfaces/IInputService.cs index e56d783..a756845 100644 --- a/src/main.lib/Services/Interfaces/IInputService.cs +++ b/src/main.lib/Services/Interfaces/IInputService.cs @@ -12,7 +12,7 @@ namespace PKISharp.WACS.Services 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); + void Show(string? label, string? value = null, bool first = false, int level = 0); Task<bool> Wait(string message = ""); Task WritePagedList(IEnumerable<Choice> listItems); string FormatDate(DateTime date); @@ -22,8 +22,8 @@ namespace PKISharp.WACS.Services public class Choice { public static Choice<T> Create<T>(T item, - string description = null, - string command = null, + string? description = null, + string? command = null, bool @default = false, bool disabled = false, ConsoleColor? color = null) @@ -40,8 +40,8 @@ namespace PKISharp.WACS.Services return newItem; } - public string Command { get; set; } - public string Description { get; set; } + public string? Command { get; set; } + public string? Description { get; set; } public bool Default { get; set; } public bool Disabled { get; set; } public ConsoleColor? Color { get; set; } |