Class StateStoreQueryItem<TValue>
- Assembly
- GroupeIsa.Neos.ClusterCommunication.dll
Represents an individual item from the results of a state query.
public class StateStoreQueryItem<TValue>
Type Parameters
TValue
The data type of the item.
- Inheritance
-
StateStoreQueryItem<TValue>
- Inherited Members
Constructors
StateStoreQueryItem(string, TValue, string, string?)
Initializes a new instance of the StateStoreQueryItem<TValue> class.
public StateStoreQueryItem(string key, TValue data, string etag, string? error = null)
Parameters
key
stringThe key of the returned item.
data
TValueThe value of the returned item.
etag
stringThe ETag of the returned item.
error
stringThe error, if one occurred, of the returned item.
Properties
Data
Gets the data of the the key from the matched query.
public TValue Data { get; }
Property Value
- TValue
ETag
Gets the entity tag to control concurrency in firt write wins mode.
public string ETag { get; }
Property Value
Error
Gets the error from the query, if one occurred.
public string? Error { get; }
Property Value
Key
Gets the key from the matched query.
public string Key { get; }