Table of Contents

Method AcceptAllRevisions

Namespace
DocWright.Dom.Revisions
Assembly
DocWright.Dom.dll

AcceptAllRevisions(DomNode)

Accepts every tracked change in a subtree: insertions lose their annotations and stay, deleted content is removed, a deleted paragraph mark merges its paragraph into the following one, and formatting changes keep the current formatting.

public static int AcceptAllRevisions(this DomNode node)

Parameters

node DomNode

The subtree root.

Returns

int

The number of revisions applied.

Exceptions

ArgumentNullException

node is null.