Class GenericDifferenceDetector
Detects the differences in content between two items.
Inherited Members
Namespace: Algenta.Colectica.Model.DifferenceDetection
Assembly: Algenta.Colectica.Model.dll
Syntax
public class GenericDifferenceDetector
Properties
Result
Gets the differences.
Declaration
public DifferenceResult Result { get; }
Property Value
Type | Description |
---|---|
DifferenceResult |
Methods
DetectDifferences(object, object, string, bool)
Declaration
public DifferenceResult DetectDifferences(object oldItem, object newItem, string itemName = "", bool isTopLevelComparison = true)
Parameters
Type | Name | Description |
---|---|---|
object | oldItem | |
object | newItem | |
string | itemName | |
bool | isTopLevelComparison | Determines whether the items being compared are the top-level items, as opposed to recursive calls. Used to determine whether to inspect collection items for differences. We don't want to do that except at the top level. |
Returns
Type | Description |
---|---|
DifferenceResult |