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
TValueThe 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
keystringThe key of the returned item.
dataTValueThe value of the returned item.
etagstringThe ETag of the returned item.
errorstringThe 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; }