Class RedbIdentityHost
redb.Identity running in a host of its own: one route context with the Identity core module and the
facades the host chose, started from the Identity and IdentityTransport configuration
sections, the same sections a Tsak worker hands the modules.
public sealed class RedbIdentityHost : IAsyncDisposable
Inheritance
Implements
Properties
Context
The started route context. Its registry holds what the modules publish, for instance the scope
public IRouteContext Context { get; }
Methods
DisposeAsync()
Stops the routes, drains running exchanges, closes the ports and disposes the Identity container.
public ValueTask DisposeAsync()
StartAsync(IServiceProvider, IConfiguration, params Func<IRouteContext, IRouteContext>[])
Starts redb.Identity in this process.
public static Task<RedbIdentityHost> StartAsync(IServiceProvider provider, IConfiguration configuration, params Func<IRouteContext, IRouteContext>[] facades)