TypeExtensionsGetAllDerivedTypes(Type, Assembly) Method

Gets all the types that inherits from the source Type within the specified Assembly.

Definition

Namespace: DevCase.Extensions.TypeExtensions
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[EditorBrowsableAttribute(EditorBrowsableState.Always)]
public static IEnumerable<Type> GetAllDerivedTypes(
	this Type type,
	Assembly assembly
)

Parameters

type  Type
The source Type.
assembly  Assembly
The assembly from wich to search for derived types.

Return Value

IEnumerableType
All the types that inherits from the source Type within the specified assembly; or if there is no Type that inherits from the source Type.

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).

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also