Table of Contents

GetTypes Method

Definition

GetTypes(IDecorator<Assembly>, string, Type)

Gets the types contained within the underlying Assembly of this instance.

public static IEnumerable<Type> GetTypes(this IDecorator<Assembly> decorator, string namespaceFilter = null, Type typeFilter = null)

Parameters

decorator IDecorator<Assembly>

The IDecorator<T> to extend.

namespaceFilter string

The filter to limit the types by namespace.

typeFilter Type

The filter to limit the types by a specific type.

Returns

IEnumerable<Type>

A sequence of Type elements, matching the applied filters, from the underlying Assembly of this instance.

Exceptions

ArgumentNullException

decorator cannot be null.