mercredi 20 juin 2018

Using PropertyInfo as key

I am creating app where I need to cache my custom attribute, so I was thinking about best approach and decided to use ConcurrentDictionary as my "cache". My question is if I can use PropertyInfo, or MethodInfo as keys? Are they unique for each method and are they same for each comparison?





Aucun commentaire:

Enregistrer un commentaire