inversion of control - How does Castle Windsor respond to a class which implements multiple interfaces? -


For example, I have two interfaces: ICustomerService and IOrderService, each of which has two functions like GetCustomer, GetOrder etc.

P>

I have to implement both classes of a square: server.

How does Castle Windsor answer it? Is this possible in the first place? When I solve a server object based on one of the two interfaces, will I get the same thing? What happens when I have a constructor in which there are both interfaces in its parameters? An object will still be created.

Managing the Lifestyle is left in its default: Singleton.

Comments