 | ObjectWithBaseClassGetDerivedInterfaces Method |
Gets a list of ExternalInterface objects that are inherited from base classes. The List
will also contain the elements own ExternalInterface objects, if the parameter is set
(default). If an ExternalInterface is overwritten, only the last defined is contained.
Namespace: Aml.Engine.CAEX.ExtensionsAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic static List<ExternalInterfaceType> GetDerivedInterfaces(
this IClassWithExternalInterface classWithBaseClass,
bool includeOwn = true
)
<ExtensionAttribute>
Public Shared Function GetDerivedInterfaces (
classWithBaseClass As IClassWithExternalInterface,
Optional includeOwn As Boolean = true
) As List(Of ExternalInterfaceType)
public:
[ExtensionAttribute]
static List<ExternalInterfaceType^>^ GetDerivedInterfaces(
IClassWithExternalInterface^ classWithBaseClass,
bool includeOwn = true
)
Parameters
- classWithBaseClass IClassWithExternalInterface
-
The class with a possible base class reference for inheritance.
- includeOwn Boolean (Optional)
-
if set to true includes the elements own ExternalInterface objects; otherwise not
Return Value
ListExternalInterfaceTypeA list of ExternalInterface objects
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IClassWithExternalInterface. 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