const classafIoc::StrategyRegistry

sys::Obj
  afIoc::StrategyRegistry

A map of Types to Objs that can be looked up via an inheritance search.

findBestFit

Source

Obj? findBestFit(Type bestFit, Bool checked := true)

Returns the Obj whose mapped Type most closely fits the given param.

findExactMatch

Source

Obj? findExactMatch(Type exact, Bool checked := true)

Standard Map behaviour - looks up an Obj via the type.

make

Source

new make(Type:Obj? values)

Creates an AdapterPattern with the given list. All types are coerced to non-nullable types. An Err is thrown if a duplicate is found in the process.