| Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference |
|
AttributeAutoProxyCreator.IsAnnotatedWithAnyOfAttribute Method
Checks if objectType is annotated with any of the attributes within the given list of attributeTypes.
[Visual Basic]
Protected Overridable Sub IsAnnotatedWithAnyOfAttribute( _
ByVal
objectType As
Type, _
ByVal
attributeTypes As
Type, _
ByVal
checkInherited As
Boolean _
)
[C#]
protected virtual
bool IsAnnotatedWithAnyOfAttribute(
Type objectType,
Type[]
attributeTypes,
bool checkInherited);
Parameters
-
objectType
- the object's type
-
attributeTypes
- the list of Attribute types to match agains.
-
checkInherited
- whether to check base classes and intefaces for any of the given attributes.
Return Value
true if any of the attributes is found
See Also
AttributeAutoProxyCreator Class | Spring.Aop.Framework.AutoProxy Namespace