const classafIoc::StrategyRegistry
sys::Obj afIoc::StrategyRegistry
A map of Types to Objs that can be looked up via an inheritance search.
- findBestFit
Obj? findBestFit(Type bestFit, Bool checked := true)Returns the Obj whose mapped Type most closely fits the given param.
- findExactMatch
Obj? findExactMatch(Type exact, Bool checked := true)Standard Map behaviour - looks up an Obj via the type.
- make
Creates an AdapterPattern with the given list. All types are coerced to non-nullable types. An
Erris thrown if a duplicate is found in the process.