mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-14 09:59:48 -05:00
44 lines
1.3 KiB
C#
44 lines
1.3 KiB
C#
//
|
|
// Copyright (c) Microsoft. All rights reserved.
|
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
//
|
|
|
|
using Microsoft.SqlTools.Hosting.Protocol.Contracts;
|
|
|
|
namespace Microsoft.SqlTools.ServiceLayer.LanguageExtensibility.Contracts
|
|
{
|
|
public class ExternalLanguageStatusRequestParams
|
|
{
|
|
/// <summary>
|
|
/// Connection uri
|
|
/// </summary>
|
|
public string OwnerUri { get; set; }
|
|
|
|
/// <summary>
|
|
/// Language name
|
|
/// </summary>
|
|
public string LanguageName { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// Response class for external language status
|
|
/// </summary>
|
|
public class ExternalLanguageStatusResponseParams
|
|
{
|
|
/// <summary>
|
|
/// Language status
|
|
/// </summary>
|
|
public bool Status { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// Request class for external language status
|
|
/// </summary>
|
|
public class ExternalLanguageStatusRequest
|
|
{
|
|
public static readonly
|
|
RequestType<ExternalLanguageStatusRequestParams, ExternalLanguageStatusResponseParams> Type =
|
|
RequestType<ExternalLanguageStatusRequestParams, ExternalLanguageStatusResponseParams>.Create("languageExtension/status");
|
|
}
|
|
}
|