IProxyBuilder
Abstracts the implementation of proxy type construction.
Gets or sets the ILogger that this ProxyGenerator logs to.
Gets the ModuleScope associated with this builder.
Type CreateClassProxyType(Type classToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options)
Creates a proxy type for given classToProxy, implementing additionalInterfacesToProxy, using options provided.
Type CreateClassProxyTypeWithTarget(Type classToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options)
Type CreateInterfaceProxyTypeWithoutTarget(Type interfaceToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options)
Creates a proxy type for given interfaceToProxy that delegates all calls to the provided interceptors.
Type CreateInterfaceProxyTypeWithTarget(Type interfaceToProxy, Type[] additionalInterfacesToProxy, Type targetType, ProxyGenerationOptions options)
Creates a proxy type that proxies calls to interfaceToProxy members on targetType, implementing additionalInterfacesToProxy, using options provided.
Type CreateInterfaceProxyTypeWithTargetInterface(Type interfaceToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options)
Creates a proxy type for given interfaceToProxy and that delegates all calls to the provided interceptors and allows interceptors to switch the actual target of invocation.