Definition
Package: MessageHandler.EventSourcing.CloudEvents
Assembly: MessageHandler.EventSourcing.CloudEvents
Namespace: MessageHandler.EventSourcing.CloudEvents
Class: CloudEvents
DecodeAsSourcedEventsAsync(this Stream, string)
Asynchronously decode encoded cloud events as a list of sourced events
Parameters
body: System.IO.Stream
The encoded body
domain: System.String
The domain in which the sourced events type name can be identified
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable>