ReflectionUtilities.

GetAttributedTypes<TAttribute>(List<TAttribute>, List<Type>, bool) Method

Summary

Gets all types with the specified attribute all currently loaded assemblies.
Assembly
Weaver.dll
Namespace
Weaver
Containing Type
ReflectionUtilities

Syntax

public static void GetAttributedTypes<TAttribute>(List<TAttribute> attributes, List<Type> types, bool includeAbstract = false) 
    where TAttribute : Attribute

Type Parameters

Name Description
TAttribute

Parameters

Name Type Description
attributes List<TAttribute>
types List<Type>
includeAbstract bool

Return Value

Type Description
void