Provides extension methods for Assemblies.
More...
|
static Type | FindTypeByName (this Assembly assembly, string typeName) |
| Finds a Type by name within a given assembly. Returns null if the type cannot be found.
|
static IEnumerable< Assembly > | WalkDependencies (this Assembly asm) |
| Walks the assembly dependency tree.
|
Provides extension methods for Assemblies.
◆ FindTypeByName()
Type PeanutButter.Utils.AssemblyExtensions.FindTypeByName |
( |
this Assembly | assembly, |
|
|
string | typeName ) |
|
static |
Finds a Type by name within a given assembly. Returns null if the type cannot be found.
- Parameters
-
assembly | The assembly to search |
typeName | The name of the Type to find |
- Returns
- First type maching given name or null if no match found
◆ WalkDependencies()
IEnumerable< Assembly > PeanutButter.Utils.AssemblyExtensions.WalkDependencies |
( |
this Assembly | asm | ) |
|
|
static |
Walks the assembly dependency tree.
- Parameters
-
- Returns
The documentation for this class was generated from the following file:
- source/Utils/PeanutButter.Utils/AssemblyExtensions.cs