Click or drag to resize

CAEXSequenceExtensionOfRoleClass(CAEXSequenceSupportedRoleClassType, RoleFamilyType) Method

Gets all SupportedRoleClasses from the specified sequence, which are instances of a specific RoleClass

Namespace: Aml.Engine.CAEX.Linq
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public static IEnumerable<SupportedRoleClassType> OfRoleClass(
	this CAEXSequence<SupportedRoleClassType> sequence,
	RoleFamilyType roleClass
)

Parameters

sequence  CAEXSequenceSupportedRoleClassType
The Sequence of SupportedRoleClasses
roleClass  RoleFamilyType
The required Role Class

Return Value

IEnumerableSupportedRoleClassType
SupportedRoleClasses 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 CAEXSequenceSupportedRoleClassType. 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