ExtensionsGetDerivedTypes Method (Type) |
Gets the types that derive from source and are available in the loaded assemblies. If this type has been evaluated
before, the previous results are returned regardless of any assembly load or unload event.
Namespace:
Enkoni.Framework
Assembly:
Enkoni.Framework (in Enkoni.Framework.dll) Version: 1.3.0.1
Syntaxpublic static Type[] GetDerivedTypes(
this Type source
)
<ExtensionAttribute>
Public Shared Function GetDerivedTypes (
source As Type
) As Type()
public:
[ExtensionAttribute]
static array<Type^>^ GetDerivedTypes(
Type^ source
)
[<ExtensionAttribute>]
static member GetDerivedTypes :
source : Type -> Type[]
Parameters
- source
- Type: SystemType
The instance that must be evaluated.
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