core/zenith/zenith_key library

Classes

ZenithFamily<T, Arg>
A strongly typed family identifier that creates a ZenithKey for any argument.
ZenithFamilyRegistry<T, Arg>
Tracks the keys created for one ZenithFamily within a logical scope.
ZenithKey<T>
A strongly typed identifier for nodes managed by a ZenithContainer.
ZenithOverride<T>
Pairs a ZenithKey with a factory override function for testing or scoping. Registering a ZenithOverride with a ZenithContainer causes ZenithContainer.getOrCreate to use factory instead of the factory passed at the call site whenever key is requested.