Class TenantUpdatedEvent
- Namespace
- Compendium.Core.Domain.Events.Integration
- Assembly
- Compendium.Core.dll
Integration event raised when a tenant is updated.
public sealed record TenantUpdatedEvent : IntegrationEventBase, IIntegrationEvent, IEquatable<IntegrationEventBase>, IEquatable<TenantUpdatedEvent>
- Inheritance
-
TenantUpdatedEvent
- Implements
- Inherited Members
Constructors
TenantUpdatedEvent(string, string, string, IReadOnlyList<string>)
Integration event raised when a tenant is updated.
public TenantUpdatedEvent(string TenantId, string Name, string Identifier, IReadOnlyList<string> ChangedFields)
Parameters
TenantIdstringThe unique identifier of the tenant.
NamestringThe name of the tenant.
IdentifierstringThe unique identifier/slug for the tenant.
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
EventType
Gets the name of the event type for serialization and routing purposes.
public override string EventType { get; }
Property Value
Identifier
The unique identifier/slug for the tenant.
public string Identifier { get; init; }
Property Value
Name
The name of the tenant.
public string Name { get; init; }