Skip to content

DeepDifferences Method ​

Definition ​

  • Namespace: JASE
  • Assembly: JASE.ReflectionTools.dll

Dictionary<string, object> DeepDifferences(object objA, object objB, DeepDiffOptions options = null) ​

csharp
Dictionary<string, object> DeepDifferences(object objA, object objB, DeepDiffOptions options = null)

Recursively compares two objects and returns a dictionary of differences.

Parameters ​

NameDescription
objAThe original object.
objBThe modified object.
optionsOptions controlling recursion depth and type handling.

Returns ​

A Dictionary2mapping property names to either nested diff dictionaries or the new value fromobjB` when changed or added/removed.