Class InlineEmailTemplateRegistry
N-4 (Session C): default shipping inline
English copy for the identity-system transactional e-mails. Variable
substitution uses a simple {name} placeholder syntax — no Razor / Mustache
engine is dragged in. Any requested locale falls back to the English template.
Hosts that need localized or richer rendering replace this registry by
registering their own singleton before
AddRedbIdentityServer.
public sealed class InlineEmailTemplateRegistry : IEmailTemplateRegistry
Inheritance
Implements
Methods
RenderAsync(string, string?, IReadOnlyDictionary<string, string>, CancellationToken)
Resolves the template body. Throws when
public ValueTask<RenderedEmailTemplate> RenderAsync(string templateId, string? locale, IReadOnlyDictionary<string, string> vars, CancellationToken ct = default)