Class AssemblyContext
- Namespace
- Cuemon.Reflection
- Assembly
- Cuemon.Core.dll
Provides a set of static methods and properties to manage and filter assemblies in the current application domain.
public static class AssemblyContext
- Inheritance
-
AssemblyContext
Methods
GetCurrentDomainAssemblies(Action<AssemblyContextOptions>)
Gets the qualified assemblies from the current application domain.
public static IReadOnlyList<Assembly> GetCurrentDomainAssemblies(Action<AssemblyContextOptions> setup = null)
Parameters
setupAction<AssemblyContextOptions>The AssemblyContextOptions which may be configured.
Returns
- IReadOnlyList<Assembly>
A read-only list of Assembly instances that match the filter criteria defined in AssemblyContextOptions.
Exceptions
- ArgumentException
setupfailed to configure an instance of AssemblyContextOptions in a valid state.