Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AopUtils.IsAopProxy Method

Is the supplied instance an AOP proxy?

[Visual Basic]
Public Shared Sub IsAopProxy( _
   ByVal instance As Object _
)
[C#]
public static bool IsAopProxy(
   object instance
);

Parameters

instance
The instance to be checked.

Return Value

true if the supplied instance is an AOP proxy.

Remarks

Return whether the given object is either a composition-based proxy or a decorator-based proxy.

See Also

AopUtils Class | Spring.Aop.Framework Namespace