Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AopUtils.GetAllInterfaces Method

Gets all of the interfaces that the Type of the supplied instance implements.

[Visual Basic]
Public Shared Sub GetAllInterfaces( _
   ByVal instance As Object _
)
[C#]
public static Type[] GetAllInterfaces(
   object instance
);

Parameters

instance
The object to analyse for interfaces.

Return Value

All of the interfaces that the Type of the supplied instance implements; or an empty array if the supplied instance is a null reference (Nothing in Visual Basic).

Remarks

This includes interfaces implemented by any superclasses.

See Also

AopUtils Class | Spring.Aop.Framework Namespace