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

NameSignatureSynopsis
AddAggregateFcqrsBuilderExtensions.AddAggregate(builder)Register an aggregate naming only its class; TState/TCommand/TEvent are read off its Aggregate&lt;TState, TCommand, TEvent&gt; base.

AddAggregate

FcqrsBuilderExtensions.AddAggregate(builder)
Member
Register an aggregate naming only its class; TState/TCommand/TEvent are read off its Aggregate&lt;TState, TCommand, TEvent&gt; base.

Parameters

NameTypeDescription
builderFcqrsBuilder

Returns

FcqrsBuilder