Table of Contents

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

Diagnostic?

Node

Gets the element the edit created, such as the one InsertElement(NodeId, int, string) inserted; otherwise null.

public NodeId? Node { get; }

Property Value

NodeId?

Succeeded

Gets a value indicating whether the edit was made.

public bool Succeeded { get; }

Property Value

bool

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.