Table of Contents

Method Matches

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

Matches(Revision)

Determines whether a revision satisfies every criterion set on this filter.

A revision whose date is absent or unparseable never matches a filter that sets NotBefore or NotAfter: the alternative is to guess a timestamp and then accept or reject content based on the guess.

public bool Matches(Revision revision)

Parameters

revision Revision

The revision to test.

Returns

bool

true when every set criterion matches.

Exceptions

ArgumentNullException

revision is null.