Skip to content

Interface IDependencyResolver

Namespace: Void.Proxy.Api.Plugins.Dependencies
Assembly: Void.Proxy.Api.dll

public interface IDependencyResolver

Methods

Resolve(AssemblyLoadContext, AssemblyName)

Resolves the requested assembly for loading into the specified context.

Assembly? Resolve(AssemblyLoadContext context, AssemblyName assemblyName)

Parameters

context AssemblyLoadContext

The assembly load context that should own the resolved assembly.

assemblyName AssemblyName

The identity of the assembly to resolve.

Returns

Assembly?

The loaded when this resolver can satisfy assemblyName; otherwise, null.

Remarks

Implementations should return null when the requested assembly is outside their resolution source or cannot be found.