MessageHandler MH Sign Up

CloudEvents Class

C

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, string, string, string) Converts sourced events to a cloud events.
EncodeAsCloudEvent(this SourcedEvent, ContentType, string, string, string) Encode a sourced event as cloud event
EncodeAsCloudEvents(this IEnumerable, ContentType, string, string, string) 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, string) 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, string) Convert a list of cloud events to sourced events.

Sign up to our newsletter to get notified about new content and releases

You can unsubscribe at any time by clicking the link in the footer of your emails. I use Mailchimp as my marketing platform. By clicking subscribe, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp's privacy practices here.