IProxyGenerationHook
Used during the target type inspection process. Implementors have a chance to customize the
proxy generation process.
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
namespace Castle.DynamicProxy
{
[System.Runtime.CompilerServices.NullableContext(1)]
public interface IProxyGenerationHook
{
void MethodsInspected();
void NonProxyableMemberNotification(Type type, MemberInfo memberInfo);
bool ShouldInterceptMethod(Type type, MethodInfo methodInfo);
}
}