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
RejectionTextEditRejectionChangeTextDocumentChangedEventArgs
Properties
Accepted
Gets whether the checked request was accepted.
public bool Accepted { get; }
Property Value
Change
public TextDocumentChangedEventArgs? Change { get; init; }
Property Value
Rejection
public TextEditRejection Rejection { get; init; }