A store observer invokes an observation handler whenever results for its query change.
More...
|
|
void | Cancel () |
| | Cancels the observation. The handler that was passed in when registering this store observer will no longer be called. No-op if this store observer is already cancelled or the owning Ditto object goes out of scope.
|
|
override bool | Equals (object obj) |
|
override int | GetHashCode () |
|
void | Dispose () |
| | Suppresses finalization and initiates custom disposal logic.
|
|
|
static bool | operator== (DittoStoreObserver a, DittoStoreObserver b) |
|
static bool | operator!= (DittoStoreObserver a, DittoStoreObserver b) |
|
|
override unsafe void | Dispose (bool disposing) |
| void | Dispose (bool disposing) |
| | Overload for types to dispose of resources, regardless of whether the type is being disposed or finalized. Note that finalization occurs on a dedicated thread.
|
|
|
Ditto | Ditto [get] |
| | Gets the Ditto object this store observer is registered with.
|
|
string | QueryString [get] |
| | Gets the query string of the store observer (as passed while registering it).
|
| Dictionary< string, object > | QueryArguments [get] |
| | Gets the query arguments of the store observer (as passed while registering it).
|
| byte[] | QueryArgumentsCborData [get] |
| | Gets the query arguments of the store observer, encoded as CBOR.
|
| string | QueryArgumentsJsonString [get] |
| | Gets the query arguments of the store observer, encoded as a JSON string.
|
|
bool | IsCancelled [get] |
| | Gets a value indicating whether the store observer has been cancelled or not. Also, a store observer is considered cancelled if the owning Ditto object goes out of scope.
|
|
bool | IsDisposed [get] |
A store observer invokes an observation handler whenever results for its query change.
Create a store observer by calling DittoStore.RegisterObserver. The store observer will remain active until the owning Ditto object goes out of scope or DittoStoreObserver.Cancel is called.
◆ QueryArguments
| Dictionary<string, object> DittoSDK.Store.DittoStoreObserver.QueryArguments |
|
get |
◆ QueryArgumentsCborData
| byte [] DittoSDK.Store.DittoStoreObserver.QueryArgumentsCborData |
|
get |
Gets the query arguments of the store observer, encoded as CBOR.
- See also
- QueryArguments
◆ QueryArgumentsJsonString
| string DittoSDK.Store.DittoStoreObserver.QueryArgumentsJsonString |
|
get |
Gets the query arguments of the store observer, encoded as a JSON string.
- See also
- QueryArguments