Castle.DynamicProxy.ProxyUtil
namespace Castle.DynamicProxy
{
public class AllMethodsHook : IProxyGenerationHook
{
protected static readonly ICollection<Type> SkippedTypes;
public virtual bool ShouldInterceptMethod(Type type, MethodInfo methodInfo);
public virtual void NonProxyableMemberNotification(Type type, MemberInfo memberInfo);
public virtual void MethodsInspected();
public AllMethodsHook();
}
}
namespace Castle.DynamicProxy
{
public static class ProxyUtil
{
public static TDelegate CreateDelegateToMixin<[System.Runtime.CompilerServices.Nullable(2)] TDelegate>(object proxy);
public static Delegate CreateDelegateToMixin(object proxy, Type delegateType);
public static object GetUnproxiedInstance(object instance);
public static Type GetUnproxiedType(object instance);
public static bool IsProxy(object instance);
public static bool IsProxyType(Type type);
public static bool IsAccessible(MethodBase method);
public static bool IsAccessible(MethodBase method, out string message);
public static bool IsAccessible(Type type);
}
}