public bool ShowKey = true; // just for the root DI; whether to display the "key=" part public TreeRenderer(NodeHunter noHu, IDumpItem rootDI) { this.noHu = noHu; this.bm = noHu.Node.DataRepo; this.rootDI = rootDI; // setup the root DI var diInfo = new DIInfo(noHu, rootDI); diInfo.ShowKey = ShowKey; diInfo.KeyOverride = KeyOverride; diInfos[rootDI] = diInfo; }
public DIInfo(NodeHunter noHu, IDumpItem di) { this.noHu = noHu; this.di = di; }