Table of Contents

Class UpcastingOptions

Namespace
Excalibur.Dispatch.Versioning
Assembly
Excalibur.Dispatch.dll

Options for configuring message upcasting services.

public sealed class UpcastingOptions
Inheritance
UpcastingOptions
Inherited Members
Extension Methods

Remarks

This class collects registration actions during configuration. The actions are executed when the IUpcastingPipeline singleton is created.

This approach avoids the anti-pattern of calling BuildServiceProvider() during configuration, following the IConfigureOptions pattern instead.

Properties

EnableAutoUpcastOnReplay

Gets or sets whether to enable auto-upcasting during event store replay.

public bool EnableAutoUpcastOnReplay { get; set; }

Property Value

bool

Remarks

When enabled, events loaded from the event store will be automatically upcasted to their latest version before being applied to aggregates.