TypeExtensions..::..Implements Method (Type, Type)

Returns true if type implements/inherits moreGeneralType.

Examples


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

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

Syntax


public static bool Implements(
	this Type type,
	Type moreGeneralType
)
<ExtensionAttribute> _
Public Shared Function Implements ( _
	type As Type, _
	moreGeneralType As Type _
) As Boolean
[ExtensionAttribute]
public:
static bool^ Implements(
	Type^ type, 
	Type^ moreGeneralType
)

Parameters

type
Type: Type
The type.
moreGeneralType
Type: Type
Type of the more general.

Return Value

true if XXXX, false otherwise.