AvroEventFormatter is currently found in the CloudNative.CloudEvents namespace.
|
using System.Net.Mime; |
|
|
|
namespace CloudNative.CloudEvents |
|
{ |
|
/// <summary> |
To keep things consistent, as with both protobuf and json (first two other examples I looked at), the AvroEventFormatter should be found in CloudNative.CloudEvents.Avro namespace.
Reference to SystemTextJson and Protobuf EventFormatters below.
|
using static CloudNative.CloudEvents.V1.CloudEvent.Types.CloudEventAttributeValue; |
|
|
|
namespace CloudNative.CloudEvents.Protobuf |
|
{ |
|
// TODO: Derived type which expects to only receive protobuf message data with a particular message type, |
|
using System.Threading.Tasks; |
|
|
|
namespace CloudNative.CloudEvents.SystemTextJson |
|
{ |
|
/// <summary> |
AvroEventFormatter is currently found in the CloudNative.CloudEvents namespace.
sdk-csharp/src/CloudNative.CloudEvents.Avro/AvroEventFormatter.cs
Lines 12 to 16 in 3ce4aa0
To keep things consistent, as with both protobuf and json (first two other examples I looked at), the AvroEventFormatter should be found in CloudNative.CloudEvents.Avro namespace.
Reference to SystemTextJson and Protobuf EventFormatters below.
sdk-csharp/src/CloudNative.CloudEvents.Protobuf/ProtobufEventFormatter.cs
Lines 18 to 22 in 3ce4aa0
sdk-csharp/src/CloudNative.CloudEvents.SystemTextJson/JsonEventFormatter.cs
Lines 12 to 16 in 3ce4aa0