Table of Contents

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

TenantId string

The unique identifier of the tenant.

Name string

The name of the tenant.

Identifier string

The unique identifier/slug for the tenant.

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>

EventType

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

public override string EventType { get; }

Property Value

string

Identifier

The unique identifier/slug for the tenant.

public string Identifier { get; init; }

Property Value

string

Name

The name of the tenant.

public string Name { get; init; }

Property Value

string