Files
sqltoolsservice/ServiceHost/Messages/PromptEvents.cs
Karl Burtram c78292a680 Servicehost cleanup (#1)
Merge some code clean ups.  Find+Replace 'PowerShell' with 'SQL Tools'.
Enable logger in ServiceHost project.
2016-07-15 20:48:31 -07:00

58 lines
1.6 KiB
C#

//
// 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.SqlTools.EditorServices.Protocol.MessageProtocol;
namespace Microsoft.SqlTools.EditorServices.Protocol.Messages
{
public class ShowChoicePromptRequest
{
public static readonly
RequestType<ShowChoicePromptRequest, ShowChoicePromptResponse> Type =
RequestType<ShowChoicePromptRequest, ShowChoicePromptResponse>.Create("SqlTools/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<ShowInputPromptRequest, ShowInputPromptResponse> Type =
RequestType<ShowInputPromptRequest, ShowInputPromptResponse>.Create("SqlTools/showInputPrompt");
/// <summary>
/// Gets or sets the name of the field.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets the descriptive label for the field.
/// </summary>
public string Label { get; set; }
}
public class ShowInputPromptResponse
{
public bool PromptCancelled { get; set; }
public string ResponseText { get; set; }
}
}
#endif