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
|
|
|
The message-flow narrative — which command reached which aggregate and what it yielded, saga state transitions, the commands sagas issue — is written at Information level to the "FCQRS.MessageFlow" category and is ON by default: these lines describe your application's messages, not FCQRS internals. Turn it off here (a process-wide switch), or filter the category in your logging configuration.
|
|
Whether message *payloads* appear in diagnostics detail — the span tags (command.type / event.type) and the message-flow log lines. ON by default. Span *names* are always low-cardinality case names regardless, so this never affects tracing rules or grouping. Turn it off for sensitive domains: tags and log lines then carry the case name only.
|
FCQRS