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

ProxyGenerator

public ILogger Logger { get; set; }

public IProxyBuilder ProxyBuilder { get; }

public ProxyGenerator(IProxyBuilder builder)

public ProxyGenerator()

public ProxyGenerator(bool disableSignedModule)

protected List<object> BuildArgumentListForClassProxy(ProxyGenerationOptions options, IInterceptor[] interceptors)

protected List<object> BuildArgumentListForClassProxyWithTarget(object target, ProxyGenerationOptions options, IInterceptor[] interceptors)

protected void CheckNotGenericTypeDefinition(Type type, string argumentName)

protected void CheckNotGenericTypeDefinitions(IEnumerable<Type> types, string argumentName)

public TClass CreateClassProxy<TClass>(IInterceptor[] interceptors)

public TClass CreateClassProxy<TClass>(ProxyGenerationOptions options, IInterceptor[] interceptors)

public object CreateClassProxy(Type classToProxy, Type[] additionalInterfacesToProxy, IInterceptor[] interceptors)

public object CreateClassProxy(Type classToProxy, ProxyGenerationOptions options, object[] constructorArguments, IInterceptor[] interceptors)

public object CreateClassProxy(Type classToProxy, object[] constructorArguments, IInterceptor[] interceptors)

public object CreateClassProxy(Type classToProxy, IInterceptor[] interceptors)

public object CreateClassProxy(Type classToProxy, ProxyGenerationOptions options, IInterceptor[] interceptors)

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

public virtual object CreateClassProxy(Type classToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options, object[] constructorArguments, IInterceptor[] interceptors)

protected object CreateClassProxyInstance(Type proxyType, List<object> proxyArguments, Type classToProxy, object[] constructorArguments)

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

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

public TClass CreateClassProxyWithTarget<TClass>(TClass target, IInterceptor[] interceptors)

public TClass CreateClassProxyWithTarget<TClass>(TClass target, ProxyGenerationOptions options, IInterceptor[] interceptors)

public object CreateClassProxyWithTarget(Type classToProxy, Type[] additionalInterfacesToProxy, object target, IInterceptor[] interceptors)

public object CreateClassProxyWithTarget(Type classToProxy, object target, ProxyGenerationOptions options, object[] constructorArguments, IInterceptor[] interceptors)

public object CreateClassProxyWithTarget(Type classToProxy, object target, object[] constructorArguments, IInterceptor[] interceptors)

public object CreateClassProxyWithTarget(Type classToProxy, object target, IInterceptor[] interceptors)

public object CreateClassProxyWithTarget(Type classToProxy, object target, ProxyGenerationOptions options, IInterceptor[] interceptors)

public object CreateClassProxyWithTarget(Type classToProxy, Type[] additionalInterfacesToProxy, object target, ProxyGenerationOptions options, IInterceptor[] interceptors)

public virtual object CreateClassProxyWithTarget(Type classToProxy, Type[] additionalInterfacesToProxy, object target, ProxyGenerationOptions options, object[] constructorArguments, IInterceptor[] interceptors)

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

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

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

public TInterface CreateInterfaceProxyWithoutTarget<TInterface>(IInterceptor interceptor)

public TInterface CreateInterfaceProxyWithoutTarget<TInterface>(IInterceptor[] interceptors)

public TInterface CreateInterfaceProxyWithoutTarget<TInterface>(ProxyGenerationOptions options, IInterceptor[] interceptors)

public object CreateInterfaceProxyWithoutTarget(Type interfaceToProxy, IInterceptor interceptor)

public object CreateInterfaceProxyWithoutTarget(Type interfaceToProxy, IInterceptor[] interceptors)

public object CreateInterfaceProxyWithoutTarget(Type interfaceToProxy, Type[] additionalInterfacesToProxy, IInterceptor[] interceptors)

public object CreateInterfaceProxyWithoutTarget(Type interfaceToProxy, ProxyGenerationOptions options, IInterceptor[] interceptors)

public virtual object CreateInterfaceProxyWithoutTarget(Type interfaceToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options, IInterceptor[] interceptors)

public TInterface CreateInterfaceProxyWithTarget<TInterface>(TInterface target, IInterceptor[] interceptors)

public TInterface CreateInterfaceProxyWithTarget<TInterface>(TInterface target, ProxyGenerationOptions options, IInterceptor[] interceptors)

public object CreateInterfaceProxyWithTarget(Type interfaceToProxy, object target, IInterceptor[] interceptors)

public object CreateInterfaceProxyWithTarget(Type interfaceToProxy, object target, ProxyGenerationOptions options, IInterceptor[] interceptors)

public object CreateInterfaceProxyWithTarget(Type interfaceToProxy, Type[] additionalInterfacesToProxy, object target, IInterceptor[] interceptors)

public virtual object CreateInterfaceProxyWithTarget(Type interfaceToProxy, Type[] additionalInterfacesToProxy, object target, ProxyGenerationOptions options, IInterceptor[] interceptors)

public object CreateInterfaceProxyWithTargetInterface(Type interfaceToProxy, object target, IInterceptor[] interceptors)

public TInterface CreateInterfaceProxyWithTargetInterface<TInterface>(TInterface target, IInterceptor[] interceptors)

public TInterface CreateInterfaceProxyWithTargetInterface<TInterface>(TInterface target, ProxyGenerationOptions options, IInterceptor[] interceptors)

public object CreateInterfaceProxyWithTargetInterface(Type interfaceToProxy, Type[] additionalInterfacesToProxy, object target, IInterceptor[] interceptors)

public object CreateInterfaceProxyWithTargetInterface(Type interfaceToProxy, object target, ProxyGenerationOptions options, IInterceptor[] interceptors)

public virtual object CreateInterfaceProxyWithTargetInterface(Type interfaceToProxy, Type[] additionalInterfacesToProxy, object target, ProxyGenerationOptions options, IInterceptor[] interceptors)

protected List<object> GetConstructorArguments(object target, IInterceptor[] interceptors, ProxyGenerationOptions options)