Click or drag to resize

FacetAttributeSequence Class

This class defines a sequence of Attributes which belong to an AMLFacet. A Facet attribute shall be related to an existing attribute of the parent AML object, the identifier is the same name. Facet attributes which are not part of the parent object are not permitted. [IEC 62714-1:2014 8.3 (p.43)]
Inheritance Hierarchy

Namespace: Aml.Engine.AmlObjects
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public class FacetAttributeSequence : AttributeSequence

The FacetAttributeSequence type exposes the following members.

Constructors
 NameDescription
Public methodFacetAttributeSequence Initializes a new instance of the FacetAttributeSequence class.
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.
(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 This method is not applicable if the owner is an AMLFacet.
(Overrides CAEXSequenceTAppend)
Public methodAppend(String) Appends a new Attribute with the provided name to the sequence of Attributes, if the conditions for Facet Attributes are fulfilled. Facet Attributes are a subset of Attributes which are defined for the Parent object of an AMLFacet. An Attribute with the specified name can only be added as a Facet Attribute, if the Facets parent has an identical Attribute with that name and the Attribute has not been associated to the Facet before.
(Overrides CAEXSequenceOfCAEXObjectsTAppend(String))
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.
(Inherited from CAEXSequenceOfCAEXObjectsWithReferenceT)
Public methodAt Gets the CAEX object at the specified index.
(Inherited from CAEXSequenceT)
Public methodGetCAEXAttributeObsolete.
Gets the CAEX attribute with the provided attribute path from the Attribute sequence. This method can be used to direct access a nested attribute using the complete attribute path. The Path root should be the top level attribute.
(Inherited from AttributeSequence)
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 attribute into this sequence. Before the attribute is inserted, it is checked, if it is a valid Facet attribute.
(Overrides CAEXSequenceOfCAEXObjectsTInsert(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 This method is not applicable for Facet attributes.
(Overrides CAEXSequenceTPrepend)
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