Ditto  1.0.13
Properties | List of all members
DittoSDK.DittoCollectionsEvent Class Reference

Provides information about the changes that have occurred in relation to an event delivered when observing the collections in a DittoStore. It contains information about the collections that are known about as well as the collections that were previously known about in the previous event, along with information about what collections have been inserted, deleted, updated, or moved since the last event. More...

Properties

bool IsInitial [get]
 Gets a value indicating whether or not this is the first event to be delivered when observing collections in the store. More...
 
List< DittoCollectionCollections [get]
 Gets a snapshot of all of the known collections. More...
 
List< DittoCollectionOldCollections [get]
 Gets a snapshot of all of the known collections at the time the previous event was delivered. More...
 
List< int > Insertions [get]
 Gets a list of the indexes in the list of currently known about collections at which new collections have been inserted. More...
 
List< int > Deletions [get]
 Gets a list of the indexes in the list of previously known about collections at which collections have been removed. More...
 
List< int > Updates [get]
 Gets a list of the indexes in the list of currently known about collections at which pre-existing collections have been updated. More...
 
List< DittoLiveQueryMoveMoves [get]
 Gets list of DittoLiveQueryMoves that provide the indexes, in relation to the list of previously known about collections, that already known about collections have moved from and the indexes, in relation to the list of currently known about collections, that the collections have moved to. More...
 

Detailed Description

Provides information about the changes that have occurred in relation to an event delivered when observing the collections in a DittoStore. It contains information about the collections that are known about as well as the collections that were previously known about in the previous event, along with information about what collections have been inserted, deleted, updated, or moved since the last event.

Property Documentation

◆ Collections

List<DittoCollection> DittoSDK.DittoCollectionsEvent.Collections
get

Gets a snapshot of all of the known collections.

◆ Deletions

List<int> DittoSDK.DittoCollectionsEvent.Deletions
get

Gets a list of the indexes in the list of previously known about collections at which collections have been removed.

◆ Insertions

List<int> DittoSDK.DittoCollectionsEvent.Insertions
get

Gets a list of the indexes in the list of currently known about collections at which new collections have been inserted.

◆ IsInitial

bool DittoSDK.DittoCollectionsEvent.IsInitial
get

Gets a value indicating whether or not this is the first event to be delivered when observing collections in the store.

◆ Moves

List<DittoLiveQueryMove> DittoSDK.DittoCollectionsEvent.Moves
get

Gets list of DittoLiveQueryMoves that provide the indexes, in relation to the list of previously known about collections, that already known about collections have moved from and the indexes, in relation to the list of currently known about collections, that the collections have moved to.

◆ OldCollections

List<DittoCollection> DittoSDK.DittoCollectionsEvent.OldCollections
get

Gets a snapshot of all of the known collections at the time the previous event was delivered.

◆ Updates

List<int> DittoSDK.DittoCollectionsEvent.Updates
get

Gets a list of the indexes in the list of currently known about collections at which pre-existing collections have been updated.