Class RedbServiceInitializationExtensions

Assembly: redb.Core.dll

Obsolete initialization entry points, kept for callers that invoke them explicitly. Both delegate to
.

public static class RedbServiceInitializationExtensions

Inheritance

Object→RedbServiceInitializationExtensions

Methods

AutoSyncSchemesAsync(IRedbService, params Assembly[])

Synchronizes every scheme with [RedbScheme] - as part of the full initialization, which is the

[Obsolete("Use await redb.InitializeAsync() - method includes scheme synchronization")]
public static Task AutoSyncSchemesAsync(this IRedbService redb, params Assembly[] assemblies)

InitializeAsync(IRedbService, params Assembly[])

Initializes REDB at application start-up. Same as await redb.InitializeAsync(assemblies),

[Obsolete("Use await redb.InitializeAsync() directly - method is integrated into IRedbService")]
public static Task InitializeAsync(this IRedbService redb, params Assembly[] assemblies)

Remarks

INIT-1 (review 2026-09-24): these used to carry a copy of the start-up sequence. The copy synchronized the
schemes in parallel on one service instance (Task.WhenAll) - the one thing a single instance does not
support - skipped the up-front validation of scheme names, and swallowed every synchronization error in a
bare catch. The service's own InitializeAsync does all of it sequentially and loudly, and more.