Definition
Package: MessageHandler.EventSourcing.CloudEvents
Assembly: MessageHandler.EventSourcing.CloudEvents
Namespace: MessageHandler.EventSourcing.CloudEvents
Class: CloudEvents
ToCloudEvents(this IEnumerable, string, string, string)
Converts sourced events to a cloud events.
Parameters
events: System.Collections.Generic.IEnumerable
The sourced events
source: System.String
The source value
prefix: System.String
A prefix for custom properties
domain: System.String
The domain for the type
Returns
System.Collections.Generic.IEnumerable<CloudNative.CloudEvents.CloudEvent>