Table of Contents

Class StateStoreQueryItem<TValue>

Namespace
GroupeIsa.Neos.ClusterCommunication.DistributedStore
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 string

The key of the returned item.

data TValue

The value of the returned item.

etag string

The ETag of the returned item.

error string

The 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

string

Error

Gets the error from the query, if one occurred.

public string? Error { get; }

Property Value

string

Key

Gets the key from the matched query.

public string Key { get; }

Property Value

string