Table of Contents

Interface IAssemblyResolver

Namespace
Icy.Data
Assembly
IcyUI.dll

Interface for resolving assemblies and types.

public interface IAssemblyResolver
Extension Methods

Properties

DefaultAssembly

Gets the default assembly used by the resolver.

Assembly DefaultAssembly { get; }

Property Value

Assembly

Methods

FindAssembly(string)

Finds an assembly by the specified name.

Assembly? FindAssembly(string name)

Parameters

name string

The name of the assembly to find.

Returns

Assembly

The found assembly if it exists; otherwise, null.

FindType(string)

Finds a type by the specified name.

Type? FindType(string name)

Parameters

name string

The name of the type to find.

Returns

Type

The found type if it exists; otherwise, null.

GetAssemblies()

Gets all the assemblies that can store UI elements or used in library for any purposes.

IEnumerable<Assembly> GetAssemblies()

Returns

IEnumerable<Assembly>

An enumerable of all registered assemblies.