Table of Contents

Class UserDeletedEvent

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

Integration event raised when a user is deleted from the identity system.

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

Constructors

UserDeletedEvent(string, string, DateTimeOffset, bool)

Integration event raised when a user is deleted from the identity system.

public UserDeletedEvent(string UserId, string Email, DateTimeOffset DeletedAt, bool IsSoftDelete)

Parameters

UserId string

The unique identifier of the user.

Email string

The user's email address.

DeletedAt DateTimeOffset

The timestamp when the user was deleted.

IsSoftDelete bool

Whether this is a soft delete (deactivation) or hard delete.

Properties

DeletedAt

The timestamp when the user was deleted.

public DateTimeOffset DeletedAt { get; init; }

Property Value

DateTimeOffset

Email

The user's email address.

public string Email { 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

IsSoftDelete

Whether this is a soft delete (deactivation) or hard delete.

public bool IsSoftDelete { get; init; }

Property Value

bool

UserId

The unique identifier of the user.

public string UserId { get; init; }

Property Value

string