Searching for derived types in an assembly(sharpregion.com)
submitted by
yoavsion(345) 3 years, 9 months ago
Sometimes we need to find all classes or interfaces that derive a certain Type. There are several possible scenarios for this kind of search - For instance, if we are trying to load a plug-in assembly at runtime and wish to initialize all the classes that implement the IPluginBase interface. Using the suggested DerivedHelper makes it a lot easier.
|category: C#
|Views: 21
tags:
Utility sharpregion ExtensionMethods C# Reflection another
Everyones tags:
Your Tags: