FcqrsBuilderExtensionsType
PackageFCQRS
The single-type-argument form of AddAggregate. The concrete class already names its
state, command and event types on its Aggregate<,,> base, so registration repeats none of them:
.AddAggregate<Account>()
Reflection runs once per registration, while the host is being composed, and never on the
message path. The four-type-argument instance overload remains for classes that acquire the
base generically.
Specification
Kind
Type
Members
1
Examples
0
AddAggregateSignature
FcqrsBuilderExtensions.AddAggregate(builder)
Summary
| Name | Signature | Synopsis |
|---|---|---|
| AddAggregate | FcqrsBuilderExtensions.AddAggregate(builder) | Register an aggregate naming only its class; TState/TCommand/TEvent are read off its Aggregate<TState, TCommand, TEvent> base. |