ResolveOption

Options which influence the process of resolving dependencies

Values

ValueMeaning
none0
registerBeforeResolving1 << 0

Registers the type you're trying to resolve before returning it. This essentially makes registration optional for resolving by concerete types. Resolinvg will still fail when trying to resolve a dependency by supertype.

noResolveException1 << 1

Does not throw a resolve exception when a type is not registered but will return null instead. If the type is an array, an empty array is returned instead.

Meta