Click or drag to resize

CAEXSequenceOfCAEXObjectsWithReferenceT Class

This class implements methods to work with a sequence of CAEX objects. The class will wrap all elements with the same CAEX element name of an owner element to the denoted wrapper type which is given as the type-argument.
Inheritance Hierarchy
SystemObject
  Aml.Engine.CAEXNamedElementSequenceT
    Aml.Engine.CAEXCAEXSequenceT
      Aml.Engine.CAEXCAEXSequenceOfCAEXObjectsT
        Aml.Engine.CAEXCAEXSequenceOfCAEXObjectsWithReferenceT
          Aml.Engine.CAEXAttributeSequence
          Aml.Engine.CAEXExternalInterfaceSequence
          Aml.Engine.CAEXInternalElementSequence

Namespace: Aml.Engine.CAEX
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public class CAEXSequenceOfCAEXObjectsWithReference<T> : CAEXSequenceOfCAEXObjects<T>
where T : CAEXObject

Type Parameters

T
this is a CAEX object type which can have a class relation

The CAEXSequenceOfCAEXObjectsWithReferenceT type exposes the following members.

Constructors
Properties
 NameDescription
Public propertyCAEXOwner Gets the CAEX owner of this sequence
(Inherited from NamedElementSequenceT)
Public propertyCount Gets the number of elements in this sequence
(Inherited from NamedElementSequenceT)
Public propertyElementName Gets the name of the elements in this sequence
(Inherited from NamedElementSequenceT)
Public propertyElements Gets a list of unwrapped CAEX elements (XElements) of this sequence
(Inherited from NamedElementSequenceT)
Public propertyExists Determines, if the sequence contains any element
(Inherited from NamedElementSequenceT)
Public propertyFirst Gets a wrapper for the first CAEX element in this sequence, if the sequence contains no elements null is returned.
(Inherited from CAEXSequenceT)
Public propertyIsOwnerDefined Determines, if the owner of the sequence is defined
(Inherited from NamedElementSequenceT)
Public propertyItemInt32 Gets a wrapper for the CAEX element in this sequence at the given position
(Inherited from CAEXSequenceT)
Public propertyItemString Gets the first CAEX object with this name from the sequence of elements.
(Inherited from CAEXSequenceOfCAEXObjectsT)
Public propertyItemString Gets the CAEX object which can be identified with a CAEX path, where the path parts are defined in the provided array of names.
(Inherited from CAEXSequenceOfCAEXObjectsT)
Public propertyItemValueTupleString, String Gets the first CAEX element with a specific XML-Attribute-Value from the sequence of elements.
(Inherited from CAEXSequenceT)
Public propertyLast Gets a wrapper for the last CAEX element in this sequence, if the sequence contains no elements null is returned.
(Inherited from CAEXSequenceT)
Public propertyOwner Gets the owner of this sequence
(Inherited from NamedElementSequenceT)
Top
Methods
 NameDescription
Public methodAppend Creates a new CAEX object and appends it to already existing elements in this sequence.
(Inherited from CAEXSequenceT)
Public methodAppend(String) Creates a new CAEX object with the specified name and appends it to the sequence.
(Inherited from CAEXSequenceOfCAEXObjectsT)
Public methodCode exampleAppend(ValueTupleString, Object) Creates a new CAEX object and appends it to already existing elements. The content of the new element can be optionally defined using an array of tuples defining attribute names and their values.
(Inherited from CAEXSequenceT)
Public methodAppendWithReference Appends a new object to the sequence with a reference to the provided class.
Public methodAt Gets the CAEX object at the specified index.
(Inherited from CAEXSequenceT)
Public methodGetEnumerator Gets the enumerator for this sequence.
(Inherited from CAEXSequenceT)
Public methodIndexOf Gets the Index of the specified CAEX object in this sequence of elements.
(Inherited from CAEXSequenceT)
Public methodInsert Inserts the specified element into this sequence. If nothing is specified the element is added. If the asFirst is set to true, the element is prepended to already existing ones. If a UniqueNameService can be located, the name of the inserted element is changed to be unique.
(Inherited from CAEXSequenceOfCAEXObjectsT)
Public methodInsertAt Inserts the specified CAEX object into this sequence at the defined index.
(Inherited from CAEXSequenceT)
Public methodMove Moves the CAEX object at the specified index to a new location in the collection.
(Inherited from CAEXSequenceT)
Public methodPrepend Creates a new CAEX object and prepends it to already existing elements.
(Inherited from CAEXSequenceT)
Public methodPrepend(String) Creates a new CAEX object with the specified name and prepends it to the sequence.
(Inherited from CAEXSequenceOfCAEXObjectsT)
Public methodPrepend(ValueTupleString, Object) Creates a new CAEX object and prepends it to already existing elements. The content of the new element can be defined using an array of tuples defining attribute names and their values.
(Inherited from CAEXSequenceT)
Public methodRemove Removes all CAEX objects from this sequence.
(Inherited from NamedElementSequenceT)
Public methodRemoveAt Removes the element at the given index.
(Inherited from NamedElementSequenceT)
Public methodRemoveElement Removes the provided CAEX object from this sequence.
(Inherited from CAEXSequenceT)
Top
See Also