TypeExtensions..::..Implements<(Of <(<'T>)>)> Method (Type)

Returns true if type implements/inherits T.

Examples


typeof(object[]).Implements<IEnumerable>() --> true

Namespace:  Akka.Util
Assembly:  Akka (in Akka.dll)

Syntax


public static bool Implements<T>(
	this Type type
)
<ExtensionAttribute> _
Public Shared Function Implements(Of T) ( _
	type As Type _
) As Boolean
[ExtensionAttribute]
public:
generic<typename T>
static bool^ Implements(
	Type^ type
)

Type Parameters

T

Parameters

type
Type: Type
The type.

Return Value

true if XXXX, false otherwise.