
LeanCorpusDefaults
- Namespace
- Rowles.LeanCorpus
- Assembly
- Rowles.LeanCorpus.dll
Configures process-wide defaults used when new LeanCorpus configuration objects are created. Changes affect only configurations created after publication; existing configurations and active writers retain their captured values.
public static class LeanCorpusDefaults
- Inheritance
-
LeanCorpusDefaults
Configure(Action<LeanCorpusDefaultOptions>)
Publishes a complete, immutable snapshot of the supplied defaults. The callback runs while a process-wide update is serialised, but configured factories are not invoked here.
Reset()
Restores the built-in defaults for subsequently created configurations.