SimpleNamedAggregateGetter

constructor(contextName: String?, aggregateNameGetter: PropertyGetter<T, String>)

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.