Table of Contents

Class TextEditResult

Namespace
TextEdit.Core
Assembly
TextEdit.Core.dll

The outcome of a checked transaction. An accepted no-op has no change event.

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

Constructors

TextEditResult(TextEditRejection, TextDocumentChangedEventArgs?)

The outcome of a checked transaction. An accepted no-op has no change event.

public TextEditResult(TextEditRejection Rejection, TextDocumentChangedEventArgs? Change = null)

Parameters

Rejection TextEditRejection
Change TextDocumentChangedEventArgs

Properties

Accepted

Gets whether the checked request was accepted.

public bool Accepted { get; }

Property Value

bool

Change

public TextDocumentChangedEventArgs? Change { get; init; }

Property Value

TextDocumentChangedEventArgs

Rejection

public TextEditRejection Rejection { get; init; }

Property Value

TextEditRejection