ServiceProviderOptions#

struct ServiceProviderOptions#

Options object used to configure service provider.

Public Members

bool strongDestructionOrder = false#

Set strong service destruction order.

Regargind this setting first scoped object are destructured then singletons. If set to true service provider will also destruct services in oposite order to construction.

bool prebuildSingeletons = false#

Set prebuilds singletons.

If set to true when service provider is constructed it will also construct all singletons