Table of Contents

Class ApplicationAbstractionsServiceCollectionExtensions

Namespace
GroupeIsa.Neos.Application.Extensions
Assembly
GroupeIsa.Neos.Application.Abstractions.dll

Represents extension methods for the IServiceCollection interface.

public static class ApplicationAbstractionsServiceCollectionExtensions
Inheritance
ApplicationAbstractionsServiceCollectionExtensions
Inherited Members

Methods

AddTenantDatabaseMigrationInterceptor<TInterceptor>(IServiceCollection)

Registers a ITenantDatabaseMigrationInterceptor implementation that will be used during migrations to customize their behavior.

public static void AddTenantDatabaseMigrationInterceptor<TInterceptor>(this IServiceCollection services) where TInterceptor : class, ITenantDatabaseMigrationInterceptor

Parameters

services IServiceCollection

Service collection.

Type Parameters

TInterceptor

Implemenation of ITenantDatabaseMigrationInterceptor.

Remarks

Use IRunOnceTenantDatabaseMigrationInterceptor for interceptors that should be executed only once per tenant while keeping the same registration method.

Standard tenant migration interceptors are executed after each successful tenant migration.

AddTenantResolvedInterceptor<TInterceptor>(IServiceCollection)

Registers a ITenantResolvedInterceptor implementation that will be used after tenant resolution.

public static void AddTenantResolvedInterceptor<TInterceptor>(this IServiceCollection services) where TInterceptor : class, ITenantResolvedInterceptor

Parameters

services IServiceCollection

Service collection.

Type Parameters

TInterceptor

Implemenation of ITenantResolvedInterceptor.

AddUserAuthenticatedInterceptor<TInterceptor>(IServiceCollection)

Registers a IUserAuthenticatedInterceptor implementation that will be used after user authentication.

public static void AddUserAuthenticatedInterceptor<TInterceptor>(this IServiceCollection services) where TInterceptor : class, IUserAuthenticatedInterceptor

Parameters

services IServiceCollection

Service collection.

Type Parameters

TInterceptor

Implemenation of IUserAuthenticatedInterceptor.