GetTypes Method
Definition
- Namespace
- Cuemon.Reflection
- Assemblies
- Cuemon.Core.dll
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
decoratorIDecorator<Assembly>The IDecorator<T> to extend.
namespaceFilterstringThe filter to limit the types by namespace.
typeFilterTypeThe 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
decoratorcannot be null.