C# Class Platform.StreamStorage.RetrievedEventsWithMetaData

Represents an non-typed record within the event-stream.
Show file Open project: Lokad/lokad-data-platform

Public Properties

Property Type Description
EmptyList ICollection
EventData byte[]
Next Platform.StreamClients.EventStoreOffset
StreamId string

Public Methods

Method Description
RetrievedEventsWithMetaData ( string streamId, byte eventData, EventStoreOffset next ) : System.Collections.Generic

Method Details

RetrievedEventsWithMetaData() public method

public RetrievedEventsWithMetaData ( string streamId, byte eventData, EventStoreOffset next ) : System.Collections.Generic
streamId string
eventData byte
next Platform.StreamClients.EventStoreOffset
return System.Collections.Generic

Property Details

EmptyList public static property

public static ICollection EmptyList
return ICollection

EventData public property

Data of the record itself (to be deserialized).
public byte[] EventData
return byte[]

Next public property

Pointer to the next event, can be used as a continuation token or persisted locally to remember location
public EventStoreOffset,Platform.StreamClients Next
return Platform.StreamClients.EventStoreOffset

StreamId public property

Id of the stream to which this event belongs (can be used as aggregate ID or as message serialization contract)
public string StreamId
return string