UtilReflectionGetAllDerivedTypesT(Assembly) Method
Gets all the types that inherits from the source Type within the specified Assembly.
Namespace: DevCase.Core.Diagnostics.Assembly.ReflectionAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static IEnumerable<Type> GetAllDerivedTypes<T>(
Assembly assembly
)
Public Shared Function GetAllDerivedTypes(Of T) (
assembly As Assembly
) As IEnumerable(Of Type)
Dim assembly As [Assembly]
Dim returnValue As IEnumerable(Of Type)
returnValue = UtilReflection.GetAllDerivedTypes(assembly)
public:
generic<typename T>
static IEnumerable<Type^>^ GetAllDerivedTypes(
Assembly^ assembly
)
static member GetAllDerivedTypes :
assembly : Assembly -> IEnumerable<Type>
No code example is currently available or this language may not be supported.
- assembly Assembly
-
The assembly from wich to search for derived types.
- T
-
The source Type.
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.
This is a code example.
No code example is currently available or this language may not be supported.
Dim derivedTypes As IEnumerable(Of Type) = GetAllDerivedTypes(Of Control)(Assembly.GetExecutingAssembly())
Console.WriteLine(String.Join(Environment.NewLine, derivedTypes))
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.