Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ReflectionUtils.MethodIsOnOneOfTheseInterfaces Method

Is the supplied method declared on one of these interfaces?

[Visual Basic]
Public Shared Sub MethodIsOnOneOfTheseInterfaces( _
   ByVal method As MethodBase, _
   ByVal interfaces As Type _
public static bool MethodIsOnOneOfTheseInterfaces(
   MethodBase method,
   Type[] interfaces


The method to check.
The array of interfaces we want to check.

Return Value

if the method is declared on one of these interfaces.


Exception Type Condition
ArgumentException If any of the Types specified is not an interface.
ArgumentNullException If method or any of the specified interfaces is a null reference (Nothing in Visual Basic).

See Also

ReflectionUtils Class | Spring.Util Namespace