Interface IProjectionGenerationReaderFactory<TProjection>
- Namespace
- Excalibur.EventSourcing
- Assembly
- Excalibur.EventSourcing.Abstractions.dll
Optional capability for opening exact destinations with the provider's conventional serializer.
public interface IProjectionGenerationReaderFactory<TProjection> where TProjection : class
Type Parameters
TProjectionThe read schema.
Remarks
Resolve through the outer configured store. Decorators must preserve tenant and encryption boundaries. Every opened handle must enforce exactly the originating store's IProjectionTenantBoundary and reject operations if that boundary changes during its lifetime. Selecting another destination must never widen a partitioned store to estate-wide access. Opening constructs a handle without I/O, version qualification, or provisioning. Writers remain pinned.
Methods
OpenReader(string)
Opens a read-only handle using the provider's conventional serializer.
[RequiresUnreferencedCode("The provider's conventional projection serializer can require reflection. Use the generated reader capability for trimming.")]
[RequiresDynamicCode("The provider's conventional projection serializer can require dynamic code. Use the generated reader capability for NativeAOT.")]
IProjectionGenerationReader<TProjection> OpenReader(string destinationIdentity)
Parameters
destinationIdentitystringThe exact canonical destination from a durable generation pointer.
Returns
- IProjectionGenerationReader<TProjection>
A handle to that destination.