Click or drag to resize
CollectionNodeTMostDerived, TElement Class
Represents a node containing an unbounded number of mostly identically-typed elements in the object tree accessible through Consumer<TRoot>.Root.
Inheritance Hierarchy
SystemObject
  Lawo.ComponentModelNotifyPropertyChanged
    Lawo.EmberPlusSharp.ModelElement
      Lawo.EmberPlusSharp.ModelElementTMostDerived
        Lawo.EmberPlusSharp.ModelElementWithSchemasTMostDerived
          Lawo.EmberPlusSharp.ModelNodeBaseTMostDerived
            Lawo.EmberPlusSharp.ModelNodeTMostDerived
              Lawo.EmberPlusSharp.ModelFieldNodeTMostDerived
                Lawo.EmberPlusSharp.ModelCollectionNodeTMostDerived, TElement
                  Lawo.EmberPlusSharp.ModelCollectionNodeTElement

Namespace: Lawo.EmberPlusSharp.Model
Assembly: Lawo.EmberPlusSharp (in Lawo.EmberPlusSharp.dll) Version: 1.4.1707.27006
Syntax
C#
public abstract class CollectionNode<TMostDerived, TElement> : FieldNode<TMostDerived>
where TMostDerived : CollectionNode<TMostDerived, TElement>
where TElement : IElement

Type Parameters

TMostDerived
The most-derived subtype of this class.
TElement
The type of the elements this node contains. This must either be an ElementTMostDerived subclass, IParameter, INode or IFunction.

The CollectionNodeTMostDerived, TElement type exposes the following members.

Constructors
  NameDescription
Protected methodCollectionNodeTMostDerived, TElement
Initializes a new instance of the CollectionNodeTMostDerived, TElement class.
Top
Properties
  NameDescription
Public propertyChildren
Gets the children of this node.
Public propertyChildrenRetrievalPolicy
Gets or sets the policy for this node.
(Inherited from NodeBaseTMostDerived.)
Public propertyDescription
Gets description.
(Inherited from Element.)
Public propertyIdentifier
Gets identifier.
(Inherited from Element.)
Public propertyIsOnline
Gets a value indicating whether this element is online.
(Inherited from NodeBaseTMostDerived.)
Public propertyIsRoot
Gets a value indicating whether this is a root node.
(Inherited from NodeTMostDerived.)
Public propertyItem
Gets the child where Number equals number.
Public propertyNumber
Gets number.
(Inherited from Element.)
Public propertyParent
Gets the parent of this element.
(Inherited from Element.)
Public propertySchemaIdentifiers
Gets schemaIdentifiers.
(Inherited from ElementWithSchemasTMostDerived.)
Public propertyTag
Gets or sets an arbitrary object value that can be used to store custom information about this object.
(Inherited from Element.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetElement
Gets the element with the path path relative to this node.
(Inherited from NodeTMostDerived.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetPath
Gets the full path of this element.
(Inherited from Element.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnPropertyChanged
Invoked immediately after the value of a property has been changed.
(Inherited from NotifyPropertyChanged.)
Protected methodSetValueT
Sets field to newValue and calls OnPropertyChanged(PropertyChangedEventArgs) if their values were not equal.
(Inherited from NotifyPropertyChanged.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventPropertyChanged
Occurs when a property value changes.
(Inherited from NotifyPropertyChanged.)
Top
Remarks
In contrast to CollectionNodeTElement, which can only contain elements of the same type, this class additionally offers the features of FieldNodeTMostDerived. This is useful to model nodes containing primarily elements of the same type with a few other elements added. In practice, collection nodes e.g. often also contain functions to add and delete elements.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also