Table of Contents

Class SignatureParameter

Namespace
RDCore.SDK.Model.Symbols.Completion
Assembly
RDCore.SDK.dll

A parameter of a SignatureDescription: where it is written in the signature's label, and what it is.

public sealed record SignatureParameter : IEquatable<SignatureParameter>
Inheritance
SignatureParameter
Implements
Inherited Members

Constructors

SignatureParameter(string, int, int, bool, string?)

A parameter of a SignatureDescription: where it is written in the signature's label, and what it is.

public SignatureParameter(string Name, int Start, int End, bool IsParamArray = false, string? Documentation = null)

Parameters

Name string

The name of the parameter.

Start int

The offset of the first character of the parameter in the label.

End int

The offset of the character after the parameter in the label.

IsParamArray bool

Whether it is a ParamArray, which takes every argument from where it is on.

Documentation string

What the parameter is, in a sentence: its doc string; null when it has none.

Properties

Documentation

What the parameter is, in a sentence: its doc string; null when it has none.

public string? Documentation { get; init; }

Property Value

string

End

The offset of the character after the parameter in the label.

public int End { get; init; }

Property Value

int

IsParamArray

Whether it is a ParamArray, which takes every argument from where it is on.

public bool IsParamArray { get; init; }

Property Value

bool

Name

The name of the parameter.

public string Name { get; init; }

Property Value

string

Start

The offset of the first character of the parameter in the label.

public int Start { get; init; }

Property Value

int