コード例 #1
0
        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;
        }
コード例 #2
0
 public DIInfo(NodeHunter noHu, IDumpItem di)
 {
     this.noHu = noHu;
     this.di   = di;
 }