C# Class Platform.StreamStorage.RetrievedEventsWithMetaData

Represents an non-typed record within the event-stream.
显示文件 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_oe static_oe property

public static ICollection EmptyList
return ICollection

EventData public_oe property

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

Next public_oe 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_oe 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