Differences

References
public sealed class Differences
A collection of differences between two documents.

Constructors

Differences

#
public Differences(Document a, Document b)
Compute the differences between two documents.
a (Document)First document for compare.
b (Document)Second document for compare.

Properties

A

#
public Document A { get; }
Gets the first document used for this difference comparison. Note that documents are mutable whereas this list of differences is not. So the differences may no longer be valid.

All

#
public IEnumerable<Difference> All { get; }
Enumerate over all differences.

B

#
public Document B { get; }
Gets the second document used for this difference comparison. Note that documents are mutable whereas this list of differences is not. So the differences may no longer be valid.

Count

#
public int Count { get; }
Gets the number of differences

Indexers

this[]

#
public Difference this[int index] { get; }
Difference indexer.
index (int)

Methods

Some

#
public IEnumerable<Difference> Some(DiffType type)
Enumerate over those differences of a specific type.
type (DiffType)