key generation in dictionaries

  • Thread starter Thread starter PJ6
  • Start date Start date
P

PJ6

Is there a way to customize how a dictionary considers the uniqueness and
equivalance of a particular object type?

I thought overriding GetHashcode and implementing IEquivalant(Of Type) would
have enough, but it seems these methods are being ignored - the dictionary
doesn't even call them. What's up with that?

Paul
 
Never mind, I got it.

It seems those functions are called from a different thread than the main
one...

Paul
 
Back
Top