Realm Xamarin  v0.81.0
Realm for Xamarin
Classes | Properties | List of all members
Realms.ChangeSet Class Reference

A ChangeSet describes the changes inside a IRealmCollection<T> since the last time the notification callback was invoked. More...

Classes

struct  Move
 A Move contains information about objects that moved within the same IRealmCollection<T>. More...
 

Properties

int [] DeletedIndices [get]
 Gets the indices of objects in the previous version of the IRealmCollection<T> which have been removed from this one. More...
 
int [] InsertedIndices [get]
 Gets the indices in the new version of the IRealmCollection<T> which were newly inserted. More...
 
int [] ModifiedIndices [get]
 Gets the indices in the new version of the IRealmCollection<T> which were modified. This means that the property of an object at that index was modified or the property of another object it's related to. More...
 
Move [] Moves [get]
 Gets the rows in the collection which moved. More...
 

Detailed Description

A ChangeSet describes the changes inside a IRealmCollection<T> since the last time the notification callback was invoked.

Property Documentation

§ DeletedIndices

int [] Realms.ChangeSet.DeletedIndices
get

Gets the indices of objects in the previous version of the IRealmCollection<T> which have been removed from this one.

§ InsertedIndices

int [] Realms.ChangeSet.InsertedIndices
get

Gets the indices in the new version of the IRealmCollection<T> which were newly inserted.

§ ModifiedIndices

int [] Realms.ChangeSet.ModifiedIndices
get

Gets the indices in the new version of the IRealmCollection<T> which were modified. This means that the property of an object at that index was modified or the property of another object it's related to.

§ Moves

Move [] Realms.ChangeSet.Moves
get

Gets the rows in the collection which moved.

Every From index will be present in DeletedIndices and every To index will be present in InsertedIndices.