Table of Contents

GetDerivedTypes Method

Definition

Namespace
Cuemon
Assemblies
Cuemon.Core.dll
Source
src/Cuemon.Core/Extensions/TypeDecoratorExtensions.cs

GetDerivedTypes(IDecorator<Type>, params Assembly[])

Gets a collection (self-to-derived) of derived / descendant types from the underlying Type of the decorator.

public static IEnumerable<Type> GetDerivedTypes(this IDecorator<Type> decorator, params Assembly[] assemblies)

Parameters

decorator IDecorator<Type>

The IDecorator<T> to extend.

assemblies Assembly[]

The assemblies to include in the search of derived types.

Returns

IEnumerable<Type>

An IEnumerable<T> that contains the derived types from the underlying Type of the decorator.

Exceptions

ArgumentNullException

decorator cannot be null.