Class EmitWorkerProxy
- Namespace
- Utils.Reflection.Reflection.Emit
- Assembly
- Utils.Reflection.dll
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.
public class EmitWorkerProxy : DispatchProxy
- Inheritance
-
EmitWorkerProxy
- Inherited Members
- Extension Methods
Methods
Invoke(MethodInfo?, object?[]?)
Whenever any method on the generated proxy type is called, this method is invoked to dispatch control.
protected override object? Invoke(MethodInfo? targetMethod, object?[]? args)
Parameters
targetMethodMethodInfoThe method the caller invoked.
argsobject[]The arguments the caller passed to the method.