Table of Contents

Class UserEmailChangedEvent

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

Integration event raised when a user's email is changed.

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

Constructors

UserEmailChangedEvent(string, string, string, bool)

Integration event raised when a user's email is changed.

public UserEmailChangedEvent(string UserId, string OldEmail, string NewEmail, bool IsNewEmailVerified)

Parameters

UserId string

The unique identifier of the user.

OldEmail string

The previous email address.

NewEmail string

The new email address.

IsNewEmailVerified bool

Whether the new email is verified.

Properties

EventType

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

public override string EventType { get; }

Property Value

string

IsNewEmailVerified

Whether the new email is verified.

public bool IsNewEmailVerified { get; init; }

Property Value

bool

NewEmail

The new email address.

public string NewEmail { get; init; }

Property Value

string

OldEmail

The previous email address.

public string OldEmail { get; init; }

Property Value

string

UserId

The unique identifier of the user.

public string UserId { get; init; }

Property Value

string