Skip to content

ReflectionAssemblyLoader

NexusLabs.Needlr.Injection.Reflection

NexusLabs.Needlr.Injection.Reflection.Loaders

ReflectionAssemblyLoader Class

Assembly loader that uses reflection to discover the entry assembly.

public sealed class ReflectionAssemblyLoader : NexusLabs.Needlr.Injection.IAssemblyLoader

Inheritance System.Object 🡒 ReflectionAssemblyLoader

Implements NexusLabs.Needlr.Injection.IAssemblyLoader

Remarks

This loader is not compatible with NativeAOT or trimming. For AOT scenarios, use GeneratedAssemblyProvider from NexusLabs.Needlr.Injection.SourceGen with the Needlr source generator instead.