Instance creation can be delegated to a lambda expression or another method or class.
It can resolve like this:
The first argument that can be used in the expression is
Using this, we can retrieve and use the registered object.
IObjectResolver.Instantiate can also be used to generate GameObjects executed inject.
See Use Container directory more information.
These delegates will be executed only once during scope construction. If you want to create an instance at any time during runtime, please refer to Register Factory.