public void AddRawNode(string serialized) { if (TreeOptions.IncludeRaw) { var rawTitleLeaf = new WeKnowTreeNode("Raw", TreeOptions); rawTitleLeaf.AddNode(new WeKnowTreeNode(serialized, TreeOptions) { ValueIsJson = true }); AddNode(rawTitleLeaf); } }
public WhatWeKnowTree(string rootTitle, WeKnowTreeOptions TreeOptions) { Root = new WeKnowTreeNode(rootTitle, TreeOptions); }