Section navigation

Public classStatic 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

Public method 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.

Public method Reset()

Restores the built-in defaults for subsequently created configurations.