Namespace Cratis.Chronicle.Reducers

Classes

AmbiguousSelfReducerMethod

The exception that is thrown when an event has multiple equally specific self-reduction methods.

CannotInferReducerReadModel

The exception that is thrown when an explicit reducer has no unique supported instance-method read model or contradicts its declared model.

InvalidSelfReducerLifecycleHook

The exception that is thrown when a self reducer declares an invalid replay lifecycle hook.

InvalidSelfReducerSignature

The exception that is thrown when a self reducer declares an invalid reduction method.

ReduceResult

Represents the result of a reduce operation.

ReducerAttribute

Configures a classic reducer or a read model declaring static self-reduction methods.

ReducerChangeset<TReadModel>

Represents the changeset for a reducer.

ReducerDoesNotExist

Exception that gets thrown when an reducer does not exist.

ReducerHandler

Represents an implementation of IReducerHandler.

ReducerId

Represents the unique identifier of a reducer.

ReducerInstanceResult

Represents the result of a reducer GetInstanceById operation.

ReducerInstanceResult<T>

Represents the result of a reducer GetInstanceById operation.

ReducerInvoker

Represents an implementation of IReducerInvoker.

ReducerObservers

Represents an implementation of IReducerObservers.

ReducerOptions

Represents the options for how the client runs reducers.

ReducerSnapshot<TReadModel>

Represents a snapshot of a reducer at a specific point in time grouped by CorrelationId.

ReducerState

Represents the state of a reducer.

ReducerTypeExtensions

Extension methods for working with reducer types.

ReducerValidator

Represents an implementation of IReducerValidator.

ReducerWaitExtensions

Helper extensions providing wait methods for reducers.

ReducerWatcher<TReadModel>

Represents an implementation of IReducerWatcher<TReadModel>.

Reducers

Represents an implementation of IReducers.

RegisteredReducerExtensions

Provides unconstrained siblings of the legacy marker-based reducer operations for plain registered classes.

SelfReducerHasNoReduceMethods

The exception that is thrown when an opted-in self reducer declares no reduction methods.

UnknownReducerType

Exception that gets thrown when a type is not a reducer.

UnsupportedReducerFingerprintOperand

The exception that is thrown when a reducer contains an unsupported IL operand.

Interfaces

IReducer

Defines a reducer.

IReducerFor<TReadModel>

Defines a reducer for a specific model.

IReducerHandler

Defines a system that handle events for a specific reducer.

IReducerInvoker

Defines a system that can invoke reducers.

IReducerObservers

Defines a system for managing observers of reducer changes.

IReducerValidator

Defines a validator for reducers.

IReducerWatcher

Defines a watcher for a reducer.

IReducerWatcher<TReadModel>

Defines a watcher for a reducer.

IReducers

Defines a system for working with reducer registrations for the Kernel.