Add Method
Definition
- Namespace
- Savvyio.EventDriven.Messaging.CloudEvents
- Assemblies
- Savvyio.EventDriven.Messaging.dll
Add(string, object)
Adds an element with the provided key and value to the CloudEvent.
public void Add(string key, object value)
Parameters
keystringThe object to use as the key of the element to add.
valueobjectThe object to use as the value of the element to add.