Click or drag to resize

CAEXSequenceT Class

This class implements methods to work with any sequence of CAEX elements. The class will wrap all elements of a filtered sequence 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 CAEXSequence<T> : NamedElementSequence<T>, 
	ICAEXSequence
where T : CAEXWrapper

Type Parameters

T
this is any CAEXWrapper type

The CAEXSequenceT type exposes the following members.

Constructors
 NameDescription
Public methodCAEXSequenceT Creates a new instance of the CAEXSequencce for the specified owner and the specified name which has to be a valid name for child elements, which can be filtered out from the owner by this name.
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.
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
(Overrides NamedElementSequenceTItemInt32)
Public propertyItemValueTupleString, String Gets the first CAEX element with a specific XML-Attribute-Value from the sequence of elements.
Public propertyLast Gets a wrapper for the last CAEX element in this sequence, if the sequence contains no elements null is returned.
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.
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.
Public methodAt Gets the CAEX object at the specified index.
Public methodGetEnumerator Gets the enumerator for this sequence.
(Overrides NamedElementSequenceTGetEnumerator)
Public methodIndexOf Gets the Index of the specified CAEX object in this sequence of elements.
Public methodInsert Inserts the specified CAEX object into this sequence. If no position is specified the element is appended. If 'asFirst' is set to true, the element is prepended to already existing ones.
Public methodInsertAt Inserts the specified CAEX object into this sequence at the defined index.
Public methodMove Moves the CAEX object at the specified index to a new location in the collection.
Public methodPrepend Creates a new CAEX object and prepends it to already existing elements.
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.
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.
Top
Explicit Interface Implementations
 NameDescription
Explicit interface implementationPrivate methodICAEXSequenceAppend Creates a new CAEX object and appends it to already existing elements in this sequence.
Explicit interface implementationPrivate methodCode exampleICAEXSequenceAppend(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.
Explicit interface implementationPrivate methodICAEXSequenceAt Gets the CAEX object at the specified index.
Explicit interface implementationPrivate propertyICAEXSequenceFirst Gets a wrapper for the first CAEX element in this sequence, if the sequence contains no elements null is returned.
Explicit interface implementationPrivate methodICAEXSequenceGetEnumerator Gets the enumerator for this sequence.
Explicit interface implementationPrivate methodICAEXSequenceIndexOf Gets the Index of the specified CAEX object in this sequence of elements.
Explicit interface implementationPrivate methodICAEXSequenceInsert Inserts the specified CAEX object into this sequence. If no position is specified the element is appended. If 'asFirst' is set to true, the element is prepended to already existing ones.
Explicit interface implementationPrivate methodICAEXSequenceInsertAt Inserts the specified CAEX object into this sequence at the defined index.
Explicit interface implementationPrivate propertyICAEXSequenceItemInt32 Gets a wrapper for the CAEX element in this sequence at the given position
Explicit interface implementationPrivate propertyICAEXSequenceItemValueTupleString, String Gets the first CAEX object with a specific attribute value from the sequence of elements
Explicit interface implementationPrivate propertyICAEXSequenceLast Gets a wrapper for the last CAEX element in this sequence, if the sequence contains no elements null is returned.
Explicit interface implementationPrivate methodICAEXSequencePrepend Creates a new CAEX object and prepends it to already existing elements.
Explicit interface implementationPrivate methodICAEXSequencePrepend(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.
Explicit interface implementationPrivate methodICAEXSequenceRemoveElement Removes the provided CAEX object from this sequence.
Top
See Also