Table of Contents

Class ListCreatedEvent

Namespace
Compendium.Core.Domain.Events.Integration
Assembly
Compendium.Core.dll

Integration event raised when a list is created.

public sealed record ListCreatedEvent : IntegrationEventBase, IIntegrationEvent, IEquatable<IntegrationEventBase>, IEquatable<ListCreatedEvent>
Inheritance
ListCreatedEvent
Implements
Inherited Members

Constructors

ListCreatedEvent(string, string, string?, string, DateTimeOffset)

Integration event raised when a list is created.

public ListCreatedEvent(string ListId, string Name, string? Description, string ListType, DateTimeOffset CreatedAt)

Parameters

ListId string

The unique identifier of the list.

Name string

The name of the list.

Description string

The description of the list.

ListType string

The type of list (e.g., public, private).

CreatedAt DateTimeOffset

The timestamp when the list was created.

Properties

CreatedAt

The timestamp when the list was created.

public DateTimeOffset CreatedAt { get; init; }

Property Value

DateTimeOffset

Description

The description of the list.

public string? Description { get; init; }

Property Value

string

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

ListType

The type of list (e.g., public, private).

public string ListType { get; init; }

Property Value

string

Name

The name of the list.

public string Name { get; init; }

Property Value

string