Class ListDeletedEvent
- Namespace
- Compendium.Core.Domain.Events.Integration
- Assembly
- Compendium.Core.dll
Integration event raised when a list is deleted.
public sealed record ListDeletedEvent : IntegrationEventBase, IIntegrationEvent, IEquatable<IntegrationEventBase>, IEquatable<ListDeletedEvent>
- Inheritance
-
ListDeletedEvent
- Implements
- Inherited Members
Constructors
ListDeletedEvent(string, string, int, DateTimeOffset)
Integration event raised when a list is deleted.
public ListDeletedEvent(string ListId, string Name, int SubscriberCount, DateTimeOffset DeletedAt)
Parameters
ListIdstringThe unique identifier of the list.
NamestringThe name of the list.
SubscriberCountintThe number of subscribers in the list at deletion time.
DeletedAtDateTimeOffsetThe timestamp when the list was deleted.
Properties
DeletedAt
The timestamp when the list was deleted.
public DateTimeOffset DeletedAt { get; init; }
Property Value
EventType
Gets the name of the event type for serialization and routing purposes.
public override string EventType { get; }
Property Value
ListId
The unique identifier of the list.
public string ListId { get; init; }
Property Value
Name
The name of the list.
public string Name { get; init; }
Property Value
SubscriberCount
The number of subscribers in the list at deletion time.
public int SubscriberCount { get; init; }