Finds the most appropriate ctor for use with injection.
Notes: Types that have multiple overloads of a ctor produce undefined behaviour.
You can use Injector.isBuiltinCtor and Injector.isStaticFuncCtor to determine what type of Ctor was chosen.
Either the type's __ctor, the type's injectionCtor, or NoValidCtor if no appropriate ctor was found.
See Implementation
Finds the most appropriate ctor for use with injection.
Notes: Types that have multiple overloads of a ctor produce undefined behaviour.
You can use Injector.isBuiltinCtor and Injector.isStaticFuncCtor to determine what type of Ctor was chosen.