add
Add a parameter with an instance value.
Parameters
type
the parameter type
instance
the instance that should be injected
Add a parameter with an instance factory.
Parameters
type
the parameter type
factory
the factory used to create the instance that should be injected