Namespace Utils.Reflection.Reflection.Emit
Classes
- EmitDllMappableClass
Utility class for dynamically generating types that map to DLL functions. This class emits new types at runtime, which implement a specified interface. The methods of the interface are mapped to corresponding unmanaged functions using the DllMapper class.
- EmitWorkerInvocationException
Thrown on the host side when an isolated Emit worker reports a failure while loading a native DLL or invoking one of its mapped functions.
- EmitWorkerPool
Maps several native interfaces onto a single shared isolated Emit worker process, instead of the one-process-per-interface cost of Emit<TInterface>(string, CallingConvention, TimeSpan?, TimeSpan?).
- EmitWorkerProxy
DispatchProxy that forwards every interface call to an isolated Utils.Reflection.Reflection.Emit.EmitWorkerProcess. Instances are produced by Emit<TInterface>(string, CallingConvention, TimeSpan?, TimeSpan?) via Create<T, TProxy>(); the generated proxy type never contains caller-controlled source, so it does not carry the code-generation risk documented on EmitDllMappableClass.
- EmitWorkerRoundRobinProxy
DispatchProxy that round-robins each call across a fixed set of independent isolated Emit worker processes, produced by EmitRoundRobin<TInterface>(string, CallingConvention, int, TimeSpan?, TimeSpan?).