Ditto  1.0.13
Public Member Functions | Properties | List of all members
DittoSDK.DittoSingleDocumentLiveQueryEvent Class Reference

Provides information about a live query event relating to a single document live query. More...

Public Member Functions

ulong Hash (DittoDocument document)
 Returns a hash that represents the document. More...
 
string HashMnemonic (DittoDocument document)
 Returns a pattern of words that together create a mnemonic, which represents the document. More...
 

Properties

bool IsInitial [get]
 Gets a value indicating whether this is the first time the live query is fired. This will be true if this event is the first time the live query is fired. This will be false for subsequent updates. More...
 
DittoDocument OldDocument [get]
 Gets the snapshot of the last time the document was fired. This can be a null reference if no document previously matched. More...
 

Detailed Description

Provides information about a live query event relating to a single document live query.

Member Function Documentation

◆ Hash()

ulong DittoSDK.DittoSingleDocumentLiveQueryEvent.Hash ( DittoDocument  document)
inline

Returns a hash that represents the document.

Parameters
documentThe document from the live query event.
Returns
A hash that represents the document.

◆ HashMnemonic()

string DittoSDK.DittoSingleDocumentLiveQueryEvent.HashMnemonic ( DittoDocument  document)
inline

Returns a pattern of words that together create a mnemonic, which represents the document.

Parameters
documentThe document from the live query event.
Returns
A pattern of words that together create a mnemonic, which represents the document.

Property Documentation

◆ IsInitial

bool DittoSDK.DittoSingleDocumentLiveQueryEvent.IsInitial
get

Gets a value indicating whether this is the first time the live query is fired. This will be true if this event is the first time the live query is fired. This will be false for subsequent updates.

◆ OldDocument

DittoDocument DittoSDK.DittoSingleDocumentLiveQueryEvent.OldDocument
get

Gets the snapshot of the last time the document was fired. This can be a null reference if no document previously matched.