Class HierarchySerializer
Provides a way to serialize objects to nodes of IHierarchy<T>.
Inheritance
System.Object
HierarchySerializer
Namespace: Cuemon
Assembly: Cuemon.Core.dll
Syntax
public class HierarchySerializer
Constructors
| Improve this DocHierarchySerializer(Object, Action<ObjectHierarchyOptions>)
Initializes a new instance of the HierarchySerializer class.
Declaration
public HierarchySerializer(object source, Action<ObjectHierarchyOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Object | source | The object to convert to nodes of IHierarchy<T>. |
System.Action<ObjectHierarchyOptions> | setup | The ObjectHierarchyOptions which need to be configured. |
Properties
| Improve this DocNodes
Gets the result of the IHierarchy<T>.
Declaration
public IHierarchy<object> Nodes { get; }
Property Value
Type | Description |
---|---|
IHierarchy<System.Object> | The converted nodes of the the by constructor defined source object. |