mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 20:56:02 +00:00
Enable nullable: System.Management.Automation.Host.IHostUISupportsMultipleChoiceSelection (#14172)
This commit is contained in:
1 parent
4480ee521e
commit
e6492f9169
1 file changed
+4
-2
@@ -1202,6 +1202,7 @@ namespace System.Management.Automation.Host
|
||||
/// by giving the user ability to select more than one choice. The PromptForChoice method available
|
||||
/// in PSHostUserInterface class supports only one choice selection.
|
||||
/// </summary>
|
||||
#nullable enable
|
||||
public interface IHostUISupportsMultipleChoiceSelection
|
||||
{
|
||||
/// <summary>
|
||||
@@ -1226,9 +1227,10 @@ namespace System.Management.Automation.Host
|
||||
/// implementation.
|
||||
/// </returns>
|
||||
/// <seealso cref="System.Management.Automation.Host.PSHostUserInterface.PromptForChoice"/>
|
||||
Collection<int> PromptForChoice(string caption, string message,
|
||||
Collection<ChoiceDescription> choices, IEnumerable<int> defaultChoices);
|
||||
Collection<int> PromptForChoice(string? caption, string? message,
|
||||
Collection<ChoiceDescription> choices, IEnumerable<int>? defaultChoices);
|
||||
}
|
||||
#nullable restore
|
||||
|
||||
/// <summary>
|
||||
/// Helper methods used by PowerShell's Hosts: ConsoleHost and InternalHost to process
|
||||
|
||||
Reference in new issue
Block a user