Click or drag to resize

IQueryAllClassReferencesDeep(CAEXDocument, String, String) Method

Gets all classes which have references to the provided CAEX object and their referencing classes (recursive). This method extends the AllClassReferences(CAEXDocument, String, String) and gets not only the directly derived classes of a base class but also the derived classes of these classes and further on. If the elementName is set, only classes with the defined element name are considered.

Namespace: Aml.Engine.Services.Interfaces
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
IEnumerable<CAEXObject> AllClassReferencesDeep(
	CAEXDocument document,
	string classPath,
	string elementName = ""
)

Parameters

document  CAEXDocument
The CAEX document which is searched through.
classPath  String
The class path.
elementName  String  (Optional)
Name of the element. Valid values are 'RoleClass', 'SystemUnitClass', 'InterfaceClass' and 'AttributeType'.

Return Value

IEnumerableCAEXObject
An enumeration of all found class references.
See Also