Click or drag to resize

InheritanceExtensionsIsDerivedFromInterfaceClass Method

Determines whether the specified interface class has an inheritance relation from the interface class, uniquely identifiable by the given interface class path. The interface class path may contain an alias.

Namespace: Aml.Engine.CAEX.Extensions
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public static bool IsDerivedFromInterfaceClass(
	this InterfaceClassType interfaceClass,
	string interfaceClassPath
)

Parameters

interfaceClass  InterfaceClassType
The interface class.
interfaceClassPath  String
Class path of a base interface class which is tested for a inheritance relation to the specified interface class, which is the more specific class in this relation.

Return Value

Boolean
true if an inheritance relation is resolved; otherwise, false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type InterfaceClassType. 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