Class EditResult
- Namespace
- Icy.Design
- Assembly
- IcyUI.Design.dll
The outcome of an edit.
public sealed class EditResult
- Inheritance
-
EditResult
- Inherited Members
- Extension Methods
Remarks
An edit is all-or-nothing: when it fails, neither the text nor any live page changed.
Properties
Error
Gets why the edit failed, or null when it succeeded.
public Diagnostic? Error { get; }
Property Value
Node
Gets the element the edit created, such as the one InsertElement(NodeId, int, string) inserted; otherwise null.
public NodeId? Node { get; }
Property Value
Succeeded
Gets a value indicating whether the edit was made.
public bool Succeeded { get; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.