Class RedbContextDslExtensions

Assembly: redb.Route.Core.dll

Context-level redb bridge: scheme synchronization at context startup and named idempotent
repositories in the context registry — the pieces a packaged module declares in
context.xml (they run before any route starts, on the engine's fail-fast
OnContextStarting hook) and a C# host calls directly.

public static class RedbContextDslExtensions

Inheritance

Object→RedbContextDslExtensions

Methods

AddRedbIdempotentRepository(IRouteContext, string, TimeSpan?, string?, string?)

Registers a in the context registry under

public static IRouteContext AddRedbIdempotentRepository(this IRouteContext context, string name, TimeSpan? ttl = null, string? processorName = null, string? storage = null)

SyncRedbScheme(IRouteContext, Type, string?)

Synchronizes the redb scheme for propsType when the context starts —

public static IRouteContext SyncRedbScheme(this IRouteContext context, Type propsType, string? storage = null)