Click or drag to resize

CAEXSequenceOfCAEXObjectsT 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

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

Type Parameters

T
this is any CAEX object type

The CAEXSequenceOfCAEXObjectsT type exposes the following members.

Constructors
 NameDescription
Public methodCAEXSequenceOfCAEXObjectsT(XElement, String, FuncXElement, T) Initializes a new instance of the CAEXSequenceOfCAEXObjectsT class.
Public methodCAEXSequenceOfCAEXObjectsT(XElement, String, FuncXElement, T, PredicateXElement) Initializes a new instance of the CAEXSequenceOfCAEXObjectsT class with condition.
Top
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.
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.
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.
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 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.
(Overrides CAEXSequenceTInsert(T, Boolean))
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.
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