Header menu logo FCQRS

FcqrsServiceCollectionExtensions Type

`services.AddFcqrs(...)` and `serviceProvider.Aggregate<T>()`.

Static members

Static member Description

FcqrsServiceCollectionExtensions.AddFcqrs(services, connectionString, clusterName)

Full Usage: FcqrsServiceCollectionExtensions.AddFcqrs(services, connectionString, clusterName)

Parameters:
Returns: FcqrsBuilder

Register a SQLite-backed FCQRS actor system and the startup wiring. Returns a builder for fluent .AddAggregate / .AddSaga / .AddProjection registration. IConfiguration and ILoggerFactory are taken from the container.

services : IServiceCollection
connectionString : string
clusterName : string
Returns: FcqrsBuilder

FcqrsServiceCollectionExtensions.AggregateFactory(serviceProvider)

Full Usage: FcqrsServiceCollectionExtensions.AggregateFactory(serviceProvider)

Parameters:
Returns: AggregateFactory

Resolve a registered aggregate's entity-ref factory by its CLR type. Use inside a saga's `create` delegate to reference the aggregates it coordinates.

serviceProvider : IServiceProvider
Returns: AggregateFactory

Type something to start searching.