Method ForEachAssembly
ForEachAssembly(Action<Assembly>)
Executes a delegate function for every assembly that can be loaded.
Declaration
public static void ForEachAssembly(Action<Assembly> callback)
Parameters
Type | Name | Description |
---|---|---|
Action<Assembly> | callback | The callback method to execute for each assembly. |
Remarks
ForEachAssembly
iterates through all assemblies and executes a method on each one.
If an ReflectionTypeLoadException is thrown, it is caught and ignored.