¡@

Home 

c# Programming Glossary: iamaninterface

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

simplified situation I have two interfaces interface IAmAnInterface void DoSomething and interface IAmAnInterfaceToo void DoSomethingElse.. interface IAmAnInterface void DoSomething and interface IAmAnInterfaceToo void DoSomethingElse and a class implementing both class.. and a class implementing both class IAmAnImplementation IAmAnInterface IAmAnInterfaceToo public IAmAnImplementation public void DoSomething..