Definition
Package: MessageHandler.EventSourcing.CloudEvents
Assembly: MessageHandler.EventSourcing.CloudEvents
Namespace: MessageHandler.EventSourcing.CloudEvents
Extension methods to convert sourced events from and to the cloud events format.
Methods
Method | Description |
---|---|
ToCloudEvent(this SourcedEvent, string, string, string) | Converts a sourced event to a cloud event. |
ToCloudEvents(this IEnumerable |
Converts sourced events to a cloud events. |
EncodeAsCloudEvent(this SourcedEvent, ContentType, string, string, string) | Encode a sourced event as cloud event |
EncodeAsCloudEvents(this IEnumerable |
Encode a list of sourced events as cloud events |
DecodeAsCloudEvents(this ReadOnlyMemory |
Decode encoded cloud events as a list of sourced events |
DecodeAsSourcedEvents(this ReadOnlyMemory |
Decode encoded cloud events as a list of sourced events |
DecodeAsSourcedEvents(this Stream, string) | Decode encoded cloud events as a list of sourced events |
DecodeAsSourcedEventsAsync(this Stream, string) | Asynchronously decode encoded cloud events as a list of sourced events |
ToSourcedEvents(this IEnumerable |
Convert a list of cloud events to sourced events. |