ReflectionUtilities.

ForEachType(Action<Type>) Method

Summary

Calls the specified method once for each type in every currently loaded assembly.

Most situations where you want to do something for each type are in reference to something specific. For example: when searching for every type with a certain attribute, you only need to look in assemblies that reference the assembly containing the attribute so you should instead use Weaver.ReflectionUtilities.Weaver.ReflectionUtilities.Assemblies.ForEachTypeInDependantAssemblies(System.Reflection.Assembly,System.Action{System.Type}).
Assembly
Weaver.dll
Namespace
Weaver
Containing Type
ReflectionUtilities

Syntax

public static void ForEachType(Action<Type> method)

Parameters

Name Type Description
method Action<Type>

Return Value

Type Description
void