Class TransactionalEventStoreMarker
- Namespace
- Excalibur.EventSourcing
- Assembly
- Excalibur.EventSourcing.Abstractions.dll
Wire-time capability marker registered by an event-store provider whose concrete store implements ITransactionalEventStore.
public sealed class TransactionalEventStoreMarker
- Inheritance
-
TransactionalEventStoreMarker
- Inherited Members
Remarks
Its presence in the service collection attests that the wired event store can atomically append events and stage the outbox, without resolving (or constructing) the store. A startup validator can therefore probe IServiceProviderIsService for this marker instead of resolving IEventStore from the root provider — which throws for a scoped store under scope validation and cannot see the capability through a telemetry/decorator wrapper.
Only providers whose store implements ITransactionalEventStore register it; the absence of the marker is the honest signal that no transactional event store is wired.