 | CAEXSequenceExtensionOfInterfaceClass Method |
Gets all ExternalInterfaces from the specified sequence, which are instances of a
specific InterfaceClass
Namespace: Aml.Engine.CAEX.LinqAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic static IEnumerable<ExternalInterfaceType> OfInterfaceClass(
this ExternalInterfaceSequence sequence,
InterfaceFamilyType interfaceClass
)
<ExtensionAttribute>
Public Shared Function OfInterfaceClass (
sequence As ExternalInterfaceSequence,
interfaceClass As InterfaceFamilyType
) As IEnumerable(Of ExternalInterfaceType)
public:
[ExtensionAttribute]
static IEnumerable<ExternalInterfaceType^>^ OfInterfaceClass(
ExternalInterfaceSequence^ sequence,
InterfaceFamilyType^ interfaceClass
)
Parameters
- sequence ExternalInterfaceSequence
- The Sequence of External Interfaces
- interfaceClass InterfaceFamilyType
- The required Interface Class
Return Value
IEnumerableExternalInterfaceTypeExternal Interfaces which are instances of the defined class.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ExternalInterfaceSequence. 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