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>