Table of Contents

Class LicenseDeactivatedEvent

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

Integration event raised when a license is deactivated.

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

Constructors

LicenseDeactivatedEvent(string, string, string, int, DateTimeOffset)

Integration event raised when a license is deactivated.

public LicenseDeactivatedEvent(string LicenseId, string LicenseKey, string InstanceId, int ActivationCount, DateTimeOffset DeactivatedAt)

Parameters

LicenseId string

The unique identifier of the license.

LicenseKey string

The license key.

InstanceId string

The instance identifier that was deactivated.

ActivationCount int

The current number of remaining activations.

DeactivatedAt DateTimeOffset

The timestamp when the license was deactivated.

Properties

ActivationCount

The current number of remaining activations.

public int ActivationCount { get; init; }

Property Value

int

DeactivatedAt

The timestamp when the license was deactivated.

public DateTimeOffset DeactivatedAt { get; init; }

Property Value

DateTimeOffset

EventType

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

public override string EventType { get; }

Property Value

string

InstanceId

The instance identifier that was deactivated.

public string InstanceId { get; init; }

Property Value

string

LicenseId

The unique identifier of the license.

public string LicenseId { get; init; }

Property Value

string

LicenseKey

The license key.

public string LicenseKey { get; init; }

Property Value

string