Ditto 4.11.0
 
Loading...
Searching...
No Matches
DittoSDK.DittoDiff Class Reference

Represents a diff between two lists. More...

Static Public Member Functions

static DittoDiff FromCBORObject (CBORObject cborObject)
 

Properties

HashSet< int > Insertions [get, set]
 The set of indexes in the new list at which new items have been inserted.
 
HashSet< int > Deletions [get, set]
 The set of indexes in the old list at which old items have been deleted.
 
HashSet< int > Updates [get, set]
 The set of indexes in the new list at which items have been updated.
 
IReadOnlyList<(int From, int To)> Moves [get, set]
 A set of tuples each representing a move of an item from a particular index in the old list to a particular index in the new list.
 

Detailed Description

Represents a diff between two lists.

Create a diff between lists of DittoQueryResultItem using a DittoDiffer.