mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-03 17:24:53 -05:00
My mistake, didn't pay enough attention when performing the refactoring as requested in the last code review.
29 lines
812 B
C#
29 lines
812 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 ReferencesRequest
|
|
{
|
|
public static readonly
|
|
RequestType<ReferencesParams, Location[]> Type =
|
|
RequestType<ReferencesParams, Location[]>.Create("textDocument/references");
|
|
}
|
|
|
|
public class ReferencesParams : TextDocumentPosition
|
|
{
|
|
public ReferencesContext Context { get; set; }
|
|
}
|
|
|
|
public class ReferencesContext
|
|
{
|
|
public bool IncludeDeclaration { get; set; }
|
|
}
|
|
}
|
|
|