Click or drag to resize

IQueryAllClassReferences(CAEXDocument, String, String) Method

Gets all classes which have references to the provided class path. Use this method to get all classes which have a class to class relation to the class, identified by the provided classPath. 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> AllClassReferences(
	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 classes which use the identified class as a base class.
See Also