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
Syntaxpublic static Type[] GetDerivedTypes(
this Type source,
bool forceRescan
)
<ExtensionAttribute>
Public Shared Function GetDerivedTypes (
source As Type,
forceRescan As Boolean
) As Type()
public:
[ExtensionAttribute]
static array<Type^>^ GetDerivedTypes(
Type^ source,
bool forceRescan
)
[<ExtensionAttribute>]
static member GetDerivedTypes :
source : Type *
forceRescan : bool -> Type[]
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:
TypeThe 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