Click or drag to resize

ExtensionsGetDerivedTypes Method (Type, Boolean)

Gets the types that derive from source and are available in the loaded assemblies.

Namespace:  Enkoni.Framework
Assembly:  Enkoni.Framework (in Enkoni.Framework.dll) Version: 1.3.0.1
Syntax
public static Type[] GetDerivedTypes(
	this Type source,
	bool forceRescan
)

Parameters

source
Type: SystemType
The instance that must be evaluated.
forceRescan
Type: SystemBoolean
Forces to ignore the previous scan-results and rescan the loaded assemblies.

Return Value

Type: Type
The detected types that derive from source.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Type. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also