mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-17 01:25:40 -05:00
Initial commit of SqlTools Service API
This commit is contained in:
29
ServiceHost/DebugAdapter/VariablesRequest.cs
Normal file
29
ServiceHost/DebugAdapter/VariablesRequest.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
//
|
||||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
//
|
||||
|
||||
using System.Diagnostics;
|
||||
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
|
||||
|
||||
namespace Microsoft.PowerShell.EditorServices.Protocol.DebugAdapter
|
||||
{
|
||||
public class VariablesRequest
|
||||
{
|
||||
public static readonly
|
||||
RequestType<VariablesRequestArguments, VariablesResponseBody> Type =
|
||||
RequestType<VariablesRequestArguments, VariablesResponseBody>.Create("variables");
|
||||
}
|
||||
|
||||
[DebuggerDisplay("VariablesReference = {VariablesReference}")]
|
||||
public class VariablesRequestArguments
|
||||
{
|
||||
public int VariablesReference { get; set; }
|
||||
}
|
||||
|
||||
public class VariablesResponseBody
|
||||
{
|
||||
public Variable[] Variables { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user