Table of Contents

Class TenantDatabaseMigratedEventData

Namespace
GroupeIsa.Neos.Migration
Assembly
GroupeIsa.Neos.Migration.Abstractions.dll

Represents the data passed as an argument of a ITenantDatabaseMigrationInterceptor.OnTenantDatabaseMigratedAsync(TenantDatabaseMigratedEventData event).

[ExcludeFromCodeCoverage(Justification = "POCO class with obsolete properties.")]
public sealed record TenantDatabaseMigratedEventData : IEquatable<TenantDatabaseMigratedEventData>
Inheritance
TenantDatabaseMigratedEventData
Implements
Inherited Members

Constructors

TenantDatabaseMigratedEventData(NeosTenantInfo, TenantUserInfo?, TenantUserInfo?, MigrationOptions?, MigrationResult?)

Represents the data passed as an argument of a ITenantDatabaseMigrationInterceptor.OnTenantDatabaseMigratedAsync(TenantDatabaseMigratedEventData event).

public TenantDatabaseMigratedEventData(NeosTenantInfo Tenant, TenantUserInfo? ClientAdministrator = null, TenantUserInfo? PublisherAdministrator = null, MigrationOptions? MigrationOptions = null, MigrationResult? MigrationResult = null)

Parameters

Tenant NeosTenantInfo

Gets the current tenant.

ClientAdministrator TenantUserInfo

Gets the client tenant administrator. It is filled in at the tenant creation.

PublisherAdministrator TenantUserInfo

Gets the publisher tenant administrator. It is filled in at the tenant creation.

MigrationOptions MigrationOptions

Gets the migration options.

MigrationResult MigrationResult

Gets the migration result.

Fields

Empty

Provides a value to use with events that do not need event data.

public static readonly TenantDatabaseMigratedEventData Empty

Field Value

TenantDatabaseMigratedEventData

Properties

ClientAdministrator

Gets the client tenant administrator. It is filled in at the tenant creation.

public TenantUserInfo? ClientAdministrator { get; init; }

Property Value

TenantUserInfo

ClientAdministratorLogin

Gets the login of the client administrator.

public string? ClientAdministratorLogin { get; }

Property Value

string

MigrationOptions

Gets the migration options.

public MigrationOptions? MigrationOptions { get; init; }

Property Value

MigrationOptions

MigrationResult

Gets the migration result.

public MigrationResult? MigrationResult { get; init; }

Property Value

MigrationResult

PublisherAdministrator

Gets the publisher tenant administrator. It is filled in at the tenant creation.

public TenantUserInfo? PublisherAdministrator { get; init; }

Property Value

TenantUserInfo

PublisherAdministratorLogin

Gets the login of the publisher administrator.

public string? PublisherAdministratorLogin { get; }

Property Value

string

Tenant

Gets the current tenant.

public NeosTenantInfo Tenant { get; init; }

Property Value

NeosTenantInfo