Class AssemblyUtils
Utilities for assemblies
Inherited Members
Namespace: Xareus.Utils
Assembly: Xareus.Utils.dll
Syntax
public static class AssemblyUtils
Methods
GetAllLoadableTypes(bool)
Get all loadable types from the loaded assemblies.
ignoreCache
Declaration
public static IEnumerable<Type> GetAllLoadableTypes(bool ignoreCache = false)
Parameters
Type | Name | Description |
---|---|---|
bool | ignoreCache |
Returns
Type | Description |
---|---|
IEnumerable<Type> |
GetLoadableTypes(Assembly)
Get all loadable types in the gien assembly
Declaration
public static IEnumerable<Type> GetLoadableTypes(this Assembly assembly)
Parameters
Type | Name | Description |
---|---|---|
Assembly | assembly |
Returns
Type | Description |
---|---|
IEnumerable<Type> |
ResetCache()
Manually reset the assembly/types cache
Declaration
public static void ResetCache()