forked from OmniSharp/csharp-language-server-protocol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSignatureHelp.cs
29 lines (26 loc) · 899 Bytes
/
SignatureHelp.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using OmniSharp.Extensions.LanguageServer.Protocol.Serialization;
namespace OmniSharp.Extensions.LanguageServer.Protocol.Models
{
/// <summary>
/// Signature help represents the signature of something
/// callable. There can be multiple signature but only one
/// active and only one active parameter.
/// </summary>
public class SignatureHelp
{
/// <summary>
/// One or more signatures.
/// </summary>
public Container<SignatureInformation> Signatures { get; set; } = new Container<SignatureInformation>();
/// <summary>
/// The active signature.
/// </summary>
[Optional]
public int? ActiveSignature { get; set; }
/// <summary>
/// The active parameter of the active signature.
/// </summary>
[Optional]
public int? ActiveParameter { get; set; }
}
}