<PackageReference Include="castle.core" Version="2.5.2" />

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 CreateClassProxy(Type classToProxy, ProxyGenerationOptions options)

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

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)