MessageHandler MH Sign Up

CloudEvents EncodeAsCloudEvents Method

E

Definition

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

EncodeAsCloudEvents(this IEnumerable, ContentType, string, string, string)

Encode a list of sourced events as cloud events

Parameters

events: System.Collections.Generic.IEnumerable
The sourced events
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

Returns

System.ReadOnlyMemory<System.Byte>

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.