.Net Tips – How to determine if a type implements a generic interface type
When you have a generic interface such as: It’s easy to check whether a given instance implements the IInitializable interface with a specific T: But what if you want to find out if a type implements the IInitializable interface of an arbitrary T? You won’t be able to simply get away with this: Instead, you …
.Net Tips – How to determine if a type implements a generic interface type Read More »