¡@

Home 

c# Programming Glossary: iamanimplementation

Is it possible to bind different interfaces to the same instance of a class implementing all of them?

http://stackoverflow.com/questions/10206049/is-it-possible-to-bind-different-interfaces-to-the-same-instance-of-a-class-impl

void DoSomethingElse and a class implementing both class IAmAnImplementation IAmAnInterface IAmAnInterfaceToo public IAmAnImplementation.. IAmAnInterface IAmAnInterfaceToo public IAmAnImplementation public void DoSomething public void DoSomethingElse Now I.. using Ninject. Since I want the same instance of IAmAnImplementation beeing used for IAmAnInterface as well as IAmAnInterfaceToo..