Table of Contents

Class LicenseActivatedEvent

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

Integration event raised when a license is activated.

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

Constructors

LicenseActivatedEvent(string, string, string, string?, int, int?, DateTimeOffset)

Integration event raised when a license is activated.

public LicenseActivatedEvent(string LicenseId, string LicenseKey, string InstanceId, string? InstanceName, int ActivationCount, int? ActivationLimit, DateTimeOffset ActivatedAt)

Parameters

LicenseId string

The unique identifier of the license.

LicenseKey string

The license key.

InstanceId string

The instance identifier for this activation.

InstanceName string

The name of the activated instance.

ActivationCount int

The current number of activations.

ActivationLimit int?

The maximum number of activations allowed.

ActivatedAt DateTimeOffset

The timestamp when the license was activated.

Properties

ActivatedAt

The timestamp when the license was activated.

public DateTimeOffset ActivatedAt { get; init; }

Property Value

DateTimeOffset

ActivationCount

The current number of activations.

public int ActivationCount { get; init; }

Property Value

int

ActivationLimit

The maximum number of activations allowed.

public int? ActivationLimit { get; init; }

Property Value

int?

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 for this activation.

public string InstanceId { get; init; }

Property Value

string

InstanceName

The name of the activated instance.

public string? InstanceName { 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