Class MillraceBuilder
- Namespace
- Millrace
- Assembly
- Millrace.dll
Configuration surface handed to AddMillrace. Storage registration is last-wins
(via Services.Replace) — the documented contract provider packages build on, so the
final composition-root registration (including test-host overrides) deterministically wins.
public sealed class MillraceBuilder
- Inheritance
-
MillraceBuilder
- Inherited Members
- Extension Methods
Constructors
- MillraceBuilder(IServiceCollection)
Configuration surface handed to
AddMillrace. Storage registration is last-wins (viaServices.Replace) — the documented contract provider packages build on, so the final composition-root registration (including test-host overrides) deterministically wins.
Properties
- Services
The collection being configured.
Methods
- AddWorkflow<TWorkflow>()
Registers a workflow definition (ARCHITECTURE.md §6.1).
- Configure(Action<MillraceOptions>)
Applies
configureto this node's MillraceOptions.
- UseInMemoryStorage()
Uses the bundled non-durable in-memory provider (development, samples, tests).
- UseStorage(Func<IServiceProvider, IJobStorage>, Func<IServiceProvider, IWorkflowStorage>?, Func<IServiceProvider, IMonitoringStorage>?)
Registers storage implementations (last-wins). Provider packages call this from their own
UseXxxStorageextensions.