Class CloudEvent
- Assembly
- Savvyio.EventDriven.Messaging.dll
Provides the base class for an implementation of the ICloudEvent<T> interface.
public abstract class CloudEvent : Acknowledgeable, IAcknowledgeable, IEquatable<Acknowledgeable>, IEquatable<CloudEvent>
- Inheritance
-
ObjectCloudEvent
- Implements
-
IEquatable<Acknowledgeable>IEquatable<CloudEvent>
- Derived
- Inherited Members
Constructors
CloudEvent()
Initializes a new instance of the CloudEvent class.
protected CloudEvent()
Properties
Id
Gets the identifier of the event. When combined with Source, this enables deduplication.
public string Id { get; protected set; }
Property Value
- String
The identifier of the event.
Remarks
ReservedKeywords
Gets a list of the reserved keywords.
protected static IReadOnlyCollection<string> ReservedKeywords { get; }
Property Value
- IReadOnlyCollection<String>
A list of the reserved keywords.
Source
Gets the context in which an event happened. When combined with Id, this enables deduplication.
public string Source { get; protected set; }
Property Value
- String
The context in which an event happened.
Remarks
Specversion
Gets version of the CloudEvents specification which the event uses.
public string Specversion { get; protected set; }
Property Value
- String
The version of the CloudEvents specification which the event uses.
Remarks
Time
Gets the time, expressed as the Coordinated Universal Time (UTC), of when the occurrence happened.
public DateTime? Time { get; protected set; }
Property Value
- Nullable<DateTime>
The timestamp of when the occurrence happened.
Remarks
Type
Gets the value describing the type of event related to the originating occurrence.
public string Type { get; protected set; }
Property Value
- String
The value describing the type of event related to the originating occurrence.