Table of Contents

Class ListFixesToolArguments

Namespace
RDCore.SDK.Assistant
Assembly
RDCore.SDK.Protocols.dll

The arguments of ListFixes: a document, and optionally a range of it.

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

Remarks

With no Line, the fixes are those of every diagnostic of the document. With a line and a column, they are the fixes of what is at that position, or in the range up to EndLine and EndColumn: the diagnostics there, and the refactorings of the code there.

Properties

Column

The column the range starts at, from 1; null for the start of Line.

public int? Column { get; init; }

Property Value

int?

EndColumn

The column the range ends at, from 1; null for a range that ends where it starts when EndLine is null, or at the start of EndLine otherwise.

public int? EndColumn { get; init; }

Property Value

int?

EndLine

The line the range ends on, from 1; null for a range that ends on Line.

public int? EndLine { get; init; }

Property Value

int?

Line

The line the range starts on, from 1; null for the whole document.

public int? Line { get; init; }

Property Value

int?

Path

The document: a path relative to the workspace root, or absolute.

public required string Path { get; init; }

Property Value

string

Range

The range the arguments say, 1-based; null for the whole document.

[JsonIgnore]
public TextRange? Range { get; }

Property Value

TextRange?