 | InheritanceExtensions Class |
Extension methods to navigate the inheritance relations
Inheritance HierarchySystemObject Aml.Engine.CAEX.ExtensionsInheritanceExtensions Namespace: Aml.Engine.CAEX.ExtensionsAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic static class InheritanceExtensions
<ExtensionAttribute>
Public NotInheritable Class InheritanceExtensions
[ExtensionAttribute]
public ref class InheritanceExtensions abstract sealed
The InheritanceExtensions type exposes the following members.
Properties
Methods | Name | Description |
---|
 | ChangeNameAndReferencesT |
Changes the name of the CAEX class and all the references to the class in the
whole CAEX document.
|
 | ClassIsDerivedFromT(IClassWithBaseClassReferenceT, IClassWithBaseClassReferenceT) |
Determines, if the specified class is directly or indirectly (across multiple generations)
a descendant of the specified base class or identical to it. This method can be used, if the classes are
distributed over different CAEX documents, the documents should be referenced by external
references and alias references.
|
 | ClassIsDerivedFromT(IClassWithBaseClassReferenceT, String) |
Determines, if the specified class is directly or indirectly (across multiple generations)
a descendant of the class or identical to it, which is uniquely identified with the specified baseClass path.
The base class path or the referenced class path may contain alias identifiers. If alias
identifiers are present, the method tries to load the external referenced document.
|
 | ClassIsDerivedFromT(CAEXDocument, String, String) |
Determines, if the class, specified with the given class path is directly or indirectly (across multiple
generations)
a descendant of the class or identical to it, which is uniquely identified with the specified baseClass path.
The base class path or the referenced class path may contain alias identifiers. If alias
identifiers are present, the method tries to load the externally referenced document.
|
 | CopyTreeAndChangeReferencesT |
Creates a copy of the source class and all its child classes and assigns the provided name to the copy.
Including references to objects in the original class tree are redirected to objects in the copied tree.
The copy is inserted into the provided parent object.
|
 | CreateClassInstanceT |
Creates a class instance of the CAEX class and assigns the name to the instance.
|
 | IsDerivedFromAttributeType |
Determines whether the specified attribute defines an inheritance relation from the attribute,
uniquely identifiable by the given attribute type path. The attribute type path may contain an alias.
|
 | IsDerivedFromInterfaceClass |
Determines whether the specified interface class has an inheritance relation from the interface class,
uniquely identifiable by the given interface class path. The interface class path may contain an alias.
|
 | IsDerivedFromRoleClass |
Determines whether the specified role reference defines an inheritance relation from the role,
uniquely identifiable by the given role class path. The role class path may contain an alias.
|
Top
See Also