Table of Contents

Class UserUpdatedEvent

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

Integration event raised when a user is updated in the identity system.

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

Constructors

UserUpdatedEvent(string, string, string?, string?, string?, IReadOnlyList<string>)

Integration event raised when a user is updated in the identity system.

public UserUpdatedEvent(string UserId, string Email, string? Username, string? FirstName, string? LastName, IReadOnlyList<string> ChangedFields)

Parameters

UserId string

The unique identifier of the user.

Email string

The user's email address.

Username string

The user's username.

FirstName string

The user's first name.

LastName string

The user's last name.

ChangedFields IReadOnlyList<string>

The list of fields that were changed.

Properties

ChangedFields

The list of fields that were changed.

public IReadOnlyList<string> ChangedFields { get; init; }

Property Value

IReadOnlyList<string>

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

FirstName

The user's first name.

public string? FirstName { get; init; }

Property Value

string

LastName

The user's last name.

public string? LastName { get; init; }

Property Value

string

UserId

The unique identifier of the user.

public string UserId { get; init; }

Property Value

string

Username

The user's username.

public string? Username { get; init; }

Property Value

string