Is it possible to resolve a dependency with initial parameters?
In Zenject I can for example execute container.Instantiate<Type>(new object[] {arg1, arg2}) and it will automatically inject arg1 and 2 instead of resolving them while the rest of the constructors arguments are automatically resolved, Is there a way to replicate this without some custom reflection stuff happening?
Is it possible to resolve a dependency with initial parameters?
In Zenject I can for example execute
container.Instantiate<Type>(new object[] {arg1, arg2})and it will automatically inject arg1 and 2 instead of resolving them while the rest of the constructors arguments are automatically resolved, Is there a way to replicate this without some custom reflection stuff happening?