Difference

References
public sealed class Difference : IComparable<Difference>
A single difference between two nodes.

Properties

ChunkA

#
Chunk in the A archive, when relevant.
public Node ChunkA { get; }

ChunkB

#
Chunk in the B archive, when relevant.
public Node ChunkB { get; }

EntryA

#
Entry in the A archive, when relevant.
public Item EntryA { get; }

EntryB

#
Entry in the B archive, when relevant.
public Item EntryB { get; }

Path

#
Gets the path to the chunk or entry in the A archive.
public Path Path { get; }

Type

#
Gets the type of difference.
public DifferenceType Type { get; }

Methods

CreateDifferentItem

#
Create a difference for two entries.
public static Difference CreateDifferentItem(
path,
chunkA,
chunkB,
entryA,
entryB
)

CreateMissingItemInA

#
Create a difference for a missing entry in A.
public static Difference CreateMissingItemInA(
path,
chunkA,
chunkB,
entry
)

CreateMissingItemInB

#
Create a difference for a missing entry in B.
public static Difference CreateMissingItemInB(
path,
chunkA,
chunkB,
entry
)

CreateMissingNodeInA

#
Create a difference for a missing node in A.
public static Difference CreateMissingNodeInA(
path,
Path to node in B.
node
Node in B.
)

CreateMissingNodeInB

#
Create a difference for a missing chunk in B.
public static Difference CreateMissingNodeInB(
path,
Path to chunk in A.
chunk
Chunk in A.
)
Explicit

IComparable<Difference>.CompareTo

#

ToString

#
public override string ToString()
Object.ToString

ToString

#
public string ToString(
indent,
symbolA,
symbolB
)