Table of Contents

Method AcceptRevisions

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

AcceptRevisions(DomNode, RevisionFilter)

Accepts the tracked changes a filter selects, leaving the rest in place.

public static int AcceptRevisions(this DomNode node, RevisionFilter filter)

Parameters

node DomNode

The subtree root.

filter RevisionFilter

The selection criteria.

Returns

int

The number of revisions applied.

Exceptions

ArgumentNullException

An argument is null.