Table of Contents

Class OutboxMetadataSerialization

Namespace
Excalibur.Outbox
Assembly
Excalibur.Outbox.dll

Explicit source-generated metadata configuration for an outbox store.

public sealed class OutboxMetadataSerialization
Inheritance
OutboxMetadataSerialization
Inherited Members

Remarks

Each constructed store invokes the factory once to create its own bound, frozen options. The factory supplies type metadata and must preserve the supplied canonical settings. Register every actual header value type, including nested object-valued types. No reflection fallback is added. Reused factories and any captured mutable state remain the caller's responsibility.

Constructors

OutboxMetadataSerialization(Func<JsonSerializerOptions, IJsonTypeInfoResolver>)

Creates metadata configuration with an options-aware resolver factory.

public OutboxMetadataSerialization(Func<JsonSerializerOptions, IJsonTypeInfoResolver> resolverFactory)

Parameters

resolverFactory Func<JsonSerializerOptions, IJsonTypeInfoResolver>

A factory such as options => new AppHeaderContext(options).

Exceptions

ArgumentNullException

resolverFactory is null.