Table of Contents

HierarchySerializer Constructor

Definition

HierarchySerializer(object, Action<HierarchyOptions>)

Initializes a new instance of the HierarchySerializer class.

public HierarchySerializer(object source, Action<HierarchyOptions> setup = null)

Parameters

source object

The object to convert to nodes of IHierarchy<T>.

setup Action<HierarchyOptions>

The HierarchyOptions which need to be configured.