FcqrsBuilder Type
Fluent registration builder. Each AddXxx records a step to run at startup and, where relevant, registers the resolved piece (Handler, refs, subscription) in DI. Returned by IServiceCollection.AddFcqrs.
Instance members
| Instance member | Description |
|
|
Full Usage:
this.AddProjection
Parameters:
Func<IServiceProvider, Func<int64, obj, Notify>>
lastOffset : Func<IServiceProvider, int>
Returns: FcqrsBuilder
|
|
Full Usage:
this.AddProjection
Parameters:
Func<IServiceProvider, Action<int64, obj>>
lastOffset : Func<IServiceProvider, int>
Returns: FcqrsBuilder
|
|
Full Usage:
this.AddProjection
Parameters:
Func<IServiceProvider, Func<int64, obj, IList<IMessageWithCID>>>
lastOffset : Func<IServiceProvider, int>
Returns: FcqrsBuilder
|
|
|
Register the read-model projection with a filtered single-event handler: the handler updates the read model and returns Publish/Suppress per event to control whether it wakes subscribers. The middle ground between the void overload (publish all) and the list-returning one (full control) — e.g. suppress an intermediate event so read-your-writes wakes only on the final.
|
Full Usage:
this.AddProjection
Parameters:
Action<int64, obj>
?lastOffset : int
Returns: FcqrsBuilder
|
Register the read-model projection with a single-event handler: the handler just updates the read model (returns void); each aggregate event is then published to subscribers as-is. Use the list-returning overload when notifications must be filtered — e.g. suppressing intermediate events so read-your-writes only wakes on the final one.
|
Full Usage:
this.AddProjection
Parameters:
Func<int64, obj, IList<IMessageWithCID>>
?lastOffset : int
Returns: FcqrsBuilder
|
|
Full Usage:
this.AddSaga
Parameters:
Func<IServiceProvider, 'TSaga>
startOn : Func<obj, bool>
Returns: FcqrsBuilder
|
|
|
|
Full Usage:
this.WithAkkaLogging
Parameters:
AkkaLogLevel
?includeStdout : bool
Returns: FcqrsBuilder
|
|
Full Usage:
this.WithDefaultSnapshotPolicy
Parameters:
SnapshotPolicy
Returns: FcqrsBuilder
|
|
Full Usage:
this.WithJournalTypes
Parameters:
Action<JournalTypeMapBuilder>
Returns: FcqrsBuilder
|
FCQRS