[Diese Dokumentation ist noch nicht fertig und kann sich bis zur entgültigen Version noch ändern.]
Die Standardimplementierung für Objekte, die sowohl IChild<(Of <(<'TParent, TSelf>)>)>, als auch IParent<(Of <(<'TSelf, TChild>)>)> implementieren sollen.

Namespace: DynamicNode.Model
Assembly: DNCore (in DNCore.dll) Version: 1.4.4679.19807 (1.4.0.0)

Syntax

C#
public abstract class HierarchyObject<TParent, TSelf, TChild> : ParentObject<TSelf, TChild>, 
	IChild<TParent, TSelf>, IBaseObject, IIdentifiable, IStorable
where TParent : class, IParent<TSelf, TChild>
where TSelf : class, Object, IChild<TParent, TSelf>, IParent<TSelf, TChild>, IExtensible<TSelf>
where TChild : class, Object, IChild<TSelf, TChild>
Visual Basic
Public MustInherit Class HierarchyObject(Of TParent As {Class, IParent(Of TSelf, TChild)}, TSelf As {Class, Object, IChild(Of TParent, TSelf), IParent(Of TSelf, TChild), IExtensible(Of TSelf)}, TChild As {Class, Object, IChild(Of TSelf, TChild)}) _
	Inherits ParentObject(Of TSelf, TChild) _
	Implements IChild(Of TParent, TSelf), IBaseObject,  _
	IIdentifiable, IStorable
F#
[<AbstractClassAttribute>]
type HierarchyObject<'TParent, 'TSelf, 'TChild when 'TParent : not struct and IParent<'TSelf, 'TChild> when 'TSelf : not struct and Object and IChild<'TParent, 'TSelf> and IParent<'TSelf, 'TChild> and IExtensible<'TSelf> when 'TChild : not struct and Object and IChild<'TSelf, 'TChild>> =  
    class
        inherit ParentObject<'TSelf, 'TChild>
        interface IChild<'TParent, 'TSelf>
        interface IBaseObject
        interface IIdentifiable
        interface IStorable
    end

Type Parameters

TParent
Der Type des Elternobjektes, in dem Objekte vom TypeTSelf gespeichert werden sollen.
TSelf
Der Type, der von HierarchyObject<(Of <(<'TParent, TSelf, TChild>)>)> abgeleitet wird.
TChild
Der Type der Kindobjekte, die in Objekten vom TypeTSelf gespeichert werden sollen.

Inheritance Hierarchy

System..::..Object
  DynamicNode.Model..::..BaseObject
    DynamicNode.Model..::..ExtensibleObject<(Of <(<'TSelf>)>)>
      DynamicNode.Model..::..ParentObject<(Of <(<'TSelf, TChild>)>)>
        DynamicNode.Model..::..HierarchyObject<(Of <(<'TParent, TSelf, TChild>)>)>
          DynamicNode.Core..::..Graph
          DynamicNode.Core..::..Node

See Also