Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractProxyTypeBuilder.IsAttributeMatchingType Method

Check that the specified object is matching the passed attribute type.

[Visual Basic]
Protected Overridable Sub IsAttributeMatchingType( _
   ByVal attr As Object, _
   ByVal attrType As Type _
)
[C#]
protected virtual bool IsAttributeMatchingType(
   object attr,
   Type attrType
);

Parameters

attr
The object instance to check.
attrType
The attribute type to test against.

Return Value

true if the object instance matches the attribute type; otherwise false.

Remarks

The specified object can be of different type :

See Also

AbstractProxyTypeBuilder Class | Spring.Proxy Namespace