StateEvent
Represents a state event that combines domain event stream data with aggregate state. State events are used in event sourcing to capture both the event and the resulting state.
Parameters
the type of the state
Inheritors
Properties
The aggregate ID this event stream belongs to
Functions
Creates an AggregateId for this NamedAggregate with the specified parameters.
Finds the aggregate type class associated with this named aggregate.
Converts this NamedAggregate to its corresponding AggregateMetadata.
Creates a copy of this state event.
Generates a unique ID string for this NamedAggregate.
Gets the context alias prefix for this bounded context.
Determines if this event stream should be ignored during event sourcing.
Checks if the named aggregate is available locally at runtime.
Checks if this message matches the given function for compensation purposes.
Materializes this NamedAggregate into a MaterializedNamedAggregate.
Finds the aggregate type class associated with this named aggregate, throwing an exception if not found.
Extension function to convert a NamedAggregate to an EventNamedAggregate.
Computes a grouping key for parallel processing based on the aggregate ID.
Converts this NamedAggregate to its string representation.
Converts a DomainEventStream to a StateEvent using the state from a ReadOnlyStateAggregate.
Converts a DomainEventStream to a StateEvent with the given state.
Converts this NamedAggregate to a string representation using the context alias.