Table of Contents

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

ListId string

The unique identifier of the list.

Name string

The name of the list.

SubscriberCount int

The number of subscribers in the list at deletion time.

DeletedAt DateTimeOffset

The timestamp when the list was deleted.

Properties

DeletedAt

The timestamp when the list was deleted.

public DateTimeOffset DeletedAt { get; init; }

Property Value

DateTimeOffset

EventType

Gets the name of the event type for serialization and routing purposes.

public override string EventType { get; }

Property Value

string

ListId

The unique identifier of the list.

public string ListId { get; init; }

Property Value

string

Name

The name of the list.

public string Name { get; init; }

Property Value

string

SubscriberCount

The number of subscribers in the list at deletion time.

public int SubscriberCount { get; init; }

Property Value

int