MessageHandler MH Sign Up

CloudEvents EncodeAsCloudEvent Method



Package: MessageHandler.EventSourcing.CloudEvents
Assembly: MessageHandler.EventSourcing.CloudEvents
Namespace: MessageHandler.EventSourcing.CloudEvents
Class: CloudEvents

EncodeAsCloudEvent(this SourcedEvent, ContentType, string, string, string)

Encode a sourced event as cloud event


e: MessageHandler.EventSourcing.Contracts.SourcedEvent
The sourced event
contentType: System.Net.Mime.ContentType&
The content type
source: System.String
The source value
prefix: System.String
A prefix for custom properties
domain: System.String
The domain for the type



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.