Summary
A variety of utility methods relating to the currently loaded assemblies and iterating through them.
- Assembly
- Weaver
.dll - Namespace
- Weaver
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["ReflectionUtilities.Assemblies"]
class Type type-node
Syntax
[SecurityCritical]
public static class ReflectionUtilities.Assemblies
Attributes
| Type | Description |
|---|---|
| Security |
Fields
| Name | Constant Value | Summary |
|---|---|---|
| All |
A list of all currently loaded assemblies. Do not modify.
static
|
|
| UnityCSharpRuntime |
[Editor-Only] A reference to the assembly in which Unity compiles your runtime scripts.
static
|
Methods
| Name | Value | Summary |
|---|---|---|
| FindType |
Type |
Tries to find a type with the specified name in any currently loaded assembly.
static
|
| For |
void |
Calls the specified method once for each loaded assembly that references the specified assembly (including itself).
static
|
| ForEachType |
void |
Calls the specified method once for each type in the specified assembly.
static
|
| For |
void |
Calls the specified `method` once for each type in each loaded assembly that references the assembly in
which the `method` is declared.
static
|
| For |
void |
Calls the specified `method` once for each type in each loaded assembly that references the specified `assembly`.
static
|
| GetTypes |
Type[] |
Returns an array of all types in the specified assembly.
The array is cached to avoid garbage collection.
static
|
| LogAllDependants |
void |
Logs all currently loaded assemblies and any others which are dependant on them.
static
|