mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-18 09:35:38 -05:00
My mistake, didn't pay enough attention when performing the refactoring as requested in the last code review.
34 lines
838 B
C#
34 lines
838 B
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.ServiceLayer.Hosting.Protocol.Contracts;
|
|
using Microsoft.SqlTools.ServiceLayer.Workspace.Contracts;
|
|
|
|
namespace Microsoft.SqlTools.ServiceLayer.LanguageServices.Contracts
|
|
{
|
|
public class MarkedString
|
|
{
|
|
public string Language { get; set; }
|
|
|
|
public string Value { get; set; }
|
|
}
|
|
|
|
public class Hover
|
|
{
|
|
public MarkedString[] Contents { get; set; }
|
|
|
|
public Range? Range { get; set; }
|
|
}
|
|
|
|
public class HoverRequest
|
|
{
|
|
public static readonly
|
|
RequestType<TextDocumentPosition, Hover> Type =
|
|
RequestType<TextDocumentPosition, Hover>.Create("textDocument/hover");
|
|
|
|
}
|
|
}
|
|
|