Table of Contents

Class RefactorDocumentEdit

Namespace
RDCore.SDK.Platform.Protocol
Assembly
RDCore.SDK.Protocol.dll

The edits of one document (LSP 3.17 §TextDocumentEdit).

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

Properties

Edits

The edits, of ranges that do not overlap, each of the document as it was before any of them.

public IReadOnlyList<RefactorTextEdit> Edits { get; init; }

Property Value

IReadOnlyList<RefactorTextEdit>

Uri

The address of the document.

public Uri? Uri { get; init; }

Property Value

Uri

Version

The version of the document the edits are of, as the client said it last; null for a document the client has not opened, or that the refactoring creates. A client refuses edits of any version but the one it has.

public int? Version { get; init; }

Property Value

int?