| Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference |
|
TypeNameAutoProxyCreator.IsEligibleForProxying Method
Decide, whether the given object is eligible for proxying.
[Visual Basic]
Protected Overrides Sub IsEligibleForProxying( _
ByVal
targetType As
Type, _
ByVal
targetName As
String _
)
[C#]
protected override
bool IsEligibleForProxying(
Type targetType,
string targetName);
Parameters
-
targetType
- the object's type
-
targetName
- the name of the object
Return Value
whether the given object shall be proxied.
Remarks
Override this method to allow or reject proxying for the given object.
See Also
TypeNameAutoProxyCreator Class | Spring.Aop.Framework.AutoProxy Namespace | ShouldSkip