Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractAutoProxyCreator.ShouldSkip Method

Subclasses should override this method to return true if this object should not be considered for autoproxying by this post processor. Sometimes we need to be able to avoid this happening if it will lead to a circular reference. This implementation returns false.

[Visual Basic]
Protected Overridable Sub ShouldSkip( _
   ByVal targetType As Type, _
   ByVal targetName As String _
)
[C#]
protected virtual bool ShouldSkip(
   Type targetType,
   string targetName
);

Parameters

targetType
the type of the object
targetName
the name of the object

Return Value

if remarkable to skip

See Also

AbstractAutoProxyCreator Class | Spring.Aop.Framework.AutoProxy Namespace