Click or drag to resize
RootTMostDerived Class
Represents a root object containing a number of static elements 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.ModelRootTMostDerived
                  Lawo.EmberPlusSharp.ModelDynamicRootTMostDerived

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

Type Parameters

TMostDerived
The most-derived subtype of this class.

The RootTMostDerived type exposes the following members.

Constructors
  NameDescription
Protected methodRootTMostDerived
Initializes a new instance of the RootTMostDerived class.
Top
Properties
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

TMostDerived must contain a property with a getter and a setter for each root element. The property getters and setters can have any accessibility. The name of each property must be equal to the identifier of the corresponding element, or carry an ElementAttribute to which the identifier is passed.

The type of each TMostDerived property must be of one of the following:

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