Class AssemblyResolver
- Namespace
- Icy.Data
- Assembly
- IcyUI.dll
Represents a default implementation of the assembly resolving service.
public class AssemblyResolver : IAssemblyResolver
- Inheritance
-
AssemblyResolver
- Implements
- Inherited Members
- Extension Methods
Properties
DefaultAssembly
Gets the default assembly used by the resolver.
public Assembly DefaultAssembly { get; set; }
Property Value
Logger
Gets or sets where the resolver warns about assemblies whose types can't all be loaded. IcyConfiguration sets it from Logging.
public ILogger Logger { get; set; }
Property Value
Methods
FindAssembly(string)
Finds an assembly by the specified name.
public Assembly? FindAssembly(string name)
Parameters
namestringThe name of the assembly to find.
Returns
FindType(string)
Finds a type by the specified name.
public Type? FindType(string name)
Parameters
namestringThe name of the type to find.
Returns
GetAssemblies()
Gets all the assemblies that can store UI elements or used in library for any purposes.
public IEnumerable<Assembly> GetAssemblies()
Returns
- IEnumerable<Assembly>
An enumerable of all registered assemblies.