Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IControlFlow.Under(Type, String) Method

Detects whether the caller is under the supplied Type and methodName, according to the current stacktrace.

[Visual Basic]
Public Sub Under( _
   ByVal type As Type, _
   ByVal methodName As String _
)
[C#]
bool Under(
   Type type,
   string methodName
);

Parameters

type
The Type to look for.
methodName
The name of the method to look for.

Return Value

true if the caller is under the supplied Type and methodName.

See Also

IControlFlow Interface | Spring.Core Namespace | IControlFlow.Under Overload List