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
UserIdstringThe unique identifier of the user.
EmailstringThe user's email address.
UsernamestringThe user's username.
FirstNamestringThe user's first name.
LastNamestringThe user's last name.
ChangedFieldsIReadOnlyList<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
The user's email address.
public string Email { get; init; }
Property Value
EventType
Gets the name of the event type for serialization and routing purposes.
public override string EventType { get; }
Property Value
FirstName
The user's first name.
public string? FirstName { get; init; }
Property Value
LastName
The user's last name.
public string? LastName { get; init; }
Property Value
UserId
The unique identifier of the user.
public string UserId { get; init; }
Property Value
Username
The user's username.
public string? Username { get; init; }