Is it possible to pass additional parameters for resolving a type using Windsor IoC? I know that there is a way to use anonymous args, but is it possible to pass this in addition to other constructor parameters which get resolved by the conatiner?
For example, my class is below:
interface IService
{
void methodA();
}
public class MyService (Iproductrespository a, ITenderRepository b, object context) : IService
{
public void methodA()
{
}
....
}
Now I want to resolve it using Container.Resolve<IService>(new { id = 1 })
. All my interfaces are registerd with the container.