Recent Posts
Calendar
November 2013
S M T W T F S
« Oct    
 12
3456789
10111213141516
17181920212223
24252627282930

Posts Tagged ‘interface’

Two Interfaces, One Method, Two Meanings (VB)

ka_vol1_037 Last week I showed how to implement two interfaces with one method and two meanings in CSharp.  One of the first comments I received for this post was, “How does this work in VB.NET?”

So here’s how it works:

Read the rest of this entry »

Two Interfaces. Same Method. Two meanings.

ppl-act-010 We’ve discussed interfaces before, but today I want to dig a little deeper.  I’m going to assume for now that you already know what an interface is and that you know how to implement one on a class.

But let’s assume for a bit that you have two interfaces that have exactly the same method declared in them but each implementation of the method has two entirely different meanings.  How do you code for this?

Read the rest of this entry »