Click or drag to resize

CAEXSequenceExtensionOfRoleClass(CAEXSequenceRoleRequirementsType, RoleFamilyType) Method

Gets all RoleRequirements 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<RoleRequirementsType> OfRoleClass(
	this CAEXSequence<RoleRequirementsType> sequence,
	RoleFamilyType roleClass
)

Parameters

sequence  CAEXSequenceRoleRequirementsType
The Sequence of Role Requirements
roleClass  RoleFamilyType
The required Role Class

Return Value

IEnumerableRoleRequirementsType
RoleRequirements 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 CAEXSequenceRoleRequirementsType. 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