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
ListIdstringThe unique identifier of the list.
NamestringThe name of the list.
DescriptionstringThe description of the list.
ListTypestringThe type of list (e.g., public, private).
CreatedAtDateTimeOffsetThe timestamp when the list was created.
Properties
CreatedAt
The timestamp when the list was created.
public DateTimeOffset CreatedAt { get; init; }
Property Value
Description
The description of the list.
public string? Description { 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
ListType
The type of list (e.g., public, private).
public string ListType { get; init; }
Property Value
Name
The name of the list.
public string Name { get; init; }