Click or drag to resize

CAEXWrapper Class

This class is the base CAEXWrapper class, defined for all CAEX objects. The CAEXWrapper class supports notifications of changes.
Inheritance Hierarchy
SystemObject
  Aml.Engine.CAEXCAEXWrapper
    More

Namespace: Aml.Engine.CAEX
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public class CAEXWrapper : INotifyPropertyChanged, 
	ICAEXWrapper, IXMLWrapper

The CAEXWrapper type exposes the following members.

Constructors
 NameDescription
Public methodCAEXWrapper A new CAEXWrapper instance is constructed to wrap the provided XML element.
Top
Properties
 NameDescription
Public propertyCAEXDocument Gets the CAEX document of this CAEX object. If the CAEX object has not been inserted into a document or has been removed from the document, the value is null.
Public propertyCAEXParent Gets the CAEXParent of this instance if it exists.
Public propertyCAEXSequenceOfCAEXObject Gets the CAEXSequence containing this CAEX object
Public propertyDocument Gets the XDocument of the wrapped XML-Element
Public propertyExists Determines if this is a wrapper around an existing XML-Element
Public propertyIsDeleted Determines, if this object is not contained in any document
Public propertyNode Gets the wrapped XML-Element
Public propertyOwner Gets the wrapped Xml-Element's parent
Public propertyTagName Gets the name of the CAEX tag for this CAEX object.
Top
Methods
 NameDescription
Public methodCAEXChild Gets the first child of this CAEX object with the defined CAEX tag name.
Public methodCAEXChildren Gets all children of this CAEX object with the defined CAEX tag name.
Public methodCopy Creates a deep copy of this CAEX object
Public methodEquals Equality of CAEX wrapper instances is defined on the equality of the wrapped XML elements.
(Overrides ObjectEquals(Object))
Public methodGetHashCode Gets the Hash code for this instance, using the wrapped XML element.
(Overrides ObjectGetHashCode)
Public methodGetXAttributeValue Gets the value of the Xml-Attribute with the specified attribute name of the wrapped Xml-Element.
Public methodInsertNew This method can be used to create an XML node, if this CAEX wrapper was instantiated without an XML node. This method can only be applied, if an Owner is defined. The new created CAEX object is inserted as a new child of the owner.
Public methodRemove Removes this element. After that it is no longer assigned to a document and has no owner anymore.
Public methodSetXAttributeValue Sets the value of an attribute, adds an attribute, or removes an attribute (if the value is null).
Top
Events
 NameDescription
Public eventPropertyChanged The Change event raised when any property is modified.
Top
Operators
 NameDescription
Public operatorStatic memberEquality(CAEXWrapper, CAEXWrapper) operator overload (compares the wrapped nodes)
Public operatorStatic memberInequality(CAEXWrapper, CAEXWrapper) operator overload (compares the wrapped nodes)
Top
Extension Methods
 NameDescription
Public Extension MethodAMLSchemaManager Gets the associated CAEX schema manager of the CAEX object.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodAncestors Finds all ancestors of the provided CAEX object.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodAncestorsT Finds the ancestors of the provided CAEX object which have the given type.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodCAEXDocument Gets the CAEX document which contains this CAEX object.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodCAEXFile Gets the CAEX file which contains this CAEX object.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodCAEXSchema Gets the associated CAEX schema of the CAEX object.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodDescendants Finds all descendants of the provided CAEX object.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodDescendants Finds the descendants of the provided CAEX object which are of the given type.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodDescendantsT Finds the descendants of the provided CAEX object which are of the given type.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodDescendantsT Finds the descendants of the provided CAEX object which are of the given type.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodFindCaexObjectFromIdT Finds the CAEX object with the specified id and the specified Type.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodFindReferencedClassT Finds the CAEX object with the specified CAEX path and the specified Type.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodFirstAncestor Finds the first ancestor of the specified CAEX object which fulfils the specified predicate
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodFirstAncestor Finds the first ancestor of the specified CAEX object with the given Tag name
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodFirstAncestorT Finds the first ancestor of the specified CAEX object in the given Type.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodGetParentT Tries to get a CAEX parent with the specified Type of the provided caexObject. If the parent is not assignable to the provided type, the result is null.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodIsAMLObject Determines whether the CAEX object is an AutomationML object. If the CAEX object is a SystemUnitClass or InternalElement, it is checked, if there exists a role reference to the AutomationMLBaseRole. If the CAEX object is an ExternalInterface, it is checked, if there exists an InterfaceClass reference to an AutomationMLBase Interface.
(Defined by AmlObjectsExtensions)
Public Extension MethodLibrary Gets the Library which contains this CAEX object.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodName Gets a names for the specified CAEX wrapper object. If the specified object is a CAEXObject, the Name is returned; otherwise the TagName of the CAEX item.
(Defined by CAEXBasicObjectExtensions)
Top
See Also
Inheritance Hierarchy