Update README.md for fixing assembly & namespace

Signed-off-by: iron9light <iron9light@gmail.com>
This commit is contained in:
iron9light 2019-06-13 22:09:52 +08:00
parent 44472c1e4d
commit 04b92fc10f
1 changed files with 2 additions and 2 deletions

View File

@ -216,8 +216,8 @@ context.Response.StatusCode = (int)HttpStatusCode.OK;
The SDK provides extensions for the [AMQPNetLite](https://github.com/Azure/amqpnetlite) package.
For AMQP support, you must reference the `CloudNative.CloudEvents.Mqtt` assembly and
reference the namespace in your code with `using CloudNative.CloudEvents.Mqtt`.
For AMQP support, you must reference the `CloudNative.CloudEvents.Amqp` assembly and
reference the namespace in your code with `using CloudNative.CloudEvents.Amqp`.
The `AmqpCloudEventMessage` extends the `AMQPNetLite.Message` class. The constructor
allows creating a new AMQP message that holds a CloudEvent in either structured or binary