 | ObjectWithBaseClassGetInheritedInterfaces Method |
Gets a collection of ExternalInterface objects that are inherited from base classes.
Namespace: Aml.Engine.CAEX.ExtensionsAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic static IEnumerable<ExternalInterfaceType> GetInheritedInterfaces(
this IClassWithExternalInterface classWithBaseClass,
bool includeSelf = true
)
<ExtensionAttribute>
Public Shared Function GetInheritedInterfaces (
classWithBaseClass As IClassWithExternalInterface,
Optional includeSelf As Boolean = true
) As IEnumerable(Of ExternalInterfaceType)
public:
[ExtensionAttribute]
static IEnumerable<ExternalInterfaceType^>^ GetInheritedInterfaces(
IClassWithExternalInterface^ classWithBaseClass,
bool includeSelf = true
)
Parameters
- classWithBaseClass IClassWithExternalInterface
-
The class with a possible base class reference for inheritance.
- includeSelf Boolean (Optional)
- if set to true includes the own interfaces.
Return Value
IEnumerableExternalInterfaceTypeA collection 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