Class PluggableSerializationOptions
- Namespace
- Excalibur.Dispatch.Serialization
- Assembly
- Excalibur.Dispatch.dll
Options for configuring pluggable serialization.
public sealed class PluggableSerializationOptions
- Inheritance
-
PluggableSerializationOptions
- Inherited Members
- Extension Methods
Remarks
These options are used to defer serializer registration until the DI container is built.
This allows for proper configuration without using BuildServiceProvider().
Registration actions are collected during configuration and executed when the ISerializerRegistry singleton is created.
Properties
CurrentSerializerName
Gets or sets the name of the serializer to set as current after registration.
public string? CurrentSerializerName { get; set; }
Property Value
Remarks
If null, no serializer is set as current. Use builder.UseCurrent("System.Text.Json")
or other format-specific extensions to explicitly set the current serializer.