| TypeExtensionsImplements 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) Version: 1.2.3.129 (1.2.3.129)
Syntax public static bool Implements(
this Type type,
Type moreGeneralType
)
[<ExtensionAttribute>]
static member Implements :
type : Type *
moreGeneralType : Type -> bool
Parameters
- type
- Type: SystemType
The type. - moreGeneralType
- Type: SystemType
Type of the more general.
Return Value
Type:
Booleantrue if XXXX,
false otherwise.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Type. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also