GeneratedBatchContainer
class
Namespace: Orleans.Providers.Streams.Generator
IBatchContainer implementation for generated event payloads. [Orleans.GenerateSerializer]public sealed class GeneratedBatchContainer : IBatchContainerConstructors
GeneratedBatchContainer(StreamId, object, EventSequenceTokenV2)Initializes a new instance of theGeneratedBatchContainerclass.
Properties
EnqueueTimeUtcGets the enqueue time (UTC).PayloadGets the payload.RealTokenGets the real token.SequenceTokenGes the stream sequence token for the start of this batch.StreamIdGes the stream identifier for the stream this batch is part of.
Methods
GetEventsGets events of a specific type from the batch.ImportRequestContextGives an opportunity toIBatchContainerto set any data in theRequestContextbefore thisIBatchContaineris sent to consumers. It can be the data that was set at the time event was generated and enqueued into the persistent provider or any other data.
