code_junkie

What is the best way to show inherited interface implementation in C#

Nov 13th, 2011
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. interface IFoo
  2. {
  3. void Foo();
  4. }
  5.  
  6. interface IBar : IFoo
  7. {
  8. void Bar();
  9. }
  10.  
  11. class Implementation : IBar { ... }
  12.  
  13. class Implementation : IBar, IFoo { ... }
  14.  
  15. class DerivedA : Implementation, IBar, IFoo { ... }
  16. class DerivedB : Implementation, IBar, IFoo { ... }
  17. class DerivedC : Implementation, IBar, IFoo { ... }
  18. class DerivedD : Implementation, IBar, IFoo { ... }
Add Comment
Please, Sign In to add comment