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