SimpleNamedAggregateGetter
class SimpleNamedAggregateGetter<T>(contextName: String?, aggregateNameGetter: PropertyGetter<T, String>) : NamedAggregateGetter<T>
A named aggregate getter that extracts the aggregate name from a property of the target object.
This implementation uses a property getter to extract the aggregate name from the target, then constructs a named aggregate using an optional context name.
Parameters
contextName
The optional context name to use when constructing the named aggregate.
aggregateNameGetter
The property getter for extracting the aggregate name from the target.
Type Parameters
T
The type of the target object.