Interface IModificationDetails
An object that contains information about the change that occurred on a single object.
Namespace: Realms.Server
Assembly: Realm.dll
Syntax
public interface IModificationDetails
Properties
| Improve this Doc View SourceCurrentIndex
Gets the index of the modified object in the collection after the change. If the object has been deleted, it will return -1.
Declaration
int CurrentIndex { get; }
Property Value
Type | Description |
---|---|
Int32 | An integer index. |
CurrentObject
Gets the object as it is after the change. If the object has been deleted, it will
return null
.
Declaration
dynamic CurrentObject { get; }
Property Value
Type | Description |
---|---|
Object | A RealmObject instance. |
PreviousIndex
Gets the index of the modified object in the collection before the change. If the object has been inserted, it will return -1.
Declaration
int PreviousIndex { get; }
Property Value
Type | Description |
---|---|
Int32 | An integer index. |
PreviousObject
Gets the object as it was before the change. If the object has been inserted, it will
return null
.
Declaration
dynamic PreviousObject { get; }
Property Value
Type | Description |
---|---|
Object | A RealmObject instance. |