M_WolfCurses_AttributeExtensions_IsImplementationOf - Maxwolf/WolfCurses GitHub Wiki
Determine if a type implements a specific generic interface type.
Namespace: WolfCurses
Assembly: WolfCurses (in WolfCurses.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public static bool IsImplementationOf(
this Type baseType,
Type interfaceType
)
- baseType
- Type: System.Type
The base Type. - interfaceType
- Type: System.Type
The interface Type.
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).
http://stackoverflow.com/a/503359
Supported in: 0.1