<PackageReference Include="Castle.Core" Version="4.4.0" />

DefaultProxyBuilder

Default implementation of IProxyBuilder interface producing in-memory proxy assemblies.
public ILogger Logger { get; set; }

public ModuleScope ModuleScope { get; }

Initializes a new instance of the DefaultProxyBuilder class with new ModuleScope.

Initializes a new instance of the DefaultProxyBuilder class.

public Type CreateClassProxyType(Type classToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options)

public Type CreateClassProxyTypeWithTarget(Type classToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options)

public Type CreateInterfaceProxyTypeWithoutTarget(Type interfaceToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options)

public Type CreateInterfaceProxyTypeWithTarget(Type interfaceToProxy, Type[] additionalInterfacesToProxy, Type targetType, ProxyGenerationOptions options)

public Type CreateInterfaceProxyTypeWithTargetInterface(Type interfaceToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options)