// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // #if false using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol; namespace Microsoft.PowerShell.EditorServices.Protocol.Messages { public class ShowChoicePromptRequest { public static readonly RequestType Type = RequestType.Create("powerShell/showChoicePrompt"); public string Caption { get; set; } public string Message { get; set; } public ChoiceDetails[] Choices { get; set; } public int DefaultChoice { get; set; } } public class ShowChoicePromptResponse { public bool PromptCancelled { get; set; } public string ChosenItem { get; set; } } public class ShowInputPromptRequest { public static readonly RequestType Type = RequestType.Create("powerShell/showInputPrompt"); /// /// Gets or sets the name of the field. /// public string Name { get; set; } /// /// Gets or sets the descriptive label for the field. /// public string Label { get; set; } } public class ShowInputPromptResponse { public bool PromptCancelled { get; set; } public string ResponseText { get; set; } } } #endif