Пример #1
0
        public InstanceTree LoadData(Stream stream)
        {
            InstanceTree   tree     = new InstanceTree();
            StructInstance instance = new StructInstance(this, tree, stream, stream.Position);

            tree.AddChild(instance);
            return(tree);
        }
Пример #2
0
 public override void NeedChildren()
 {
     if (!_notifyChildren)
     {
         InstanceTree tree = GetInstanceTree();
         foreach (InstanceTreeNode child in _children)
         {
             tree.NotifyInstanceAdded(this, child);
         }
         _notifyChildren = true;
     }
 }
Пример #3
0
 public SaveAllBlobsAction(InstanceTree tree, string outDir)
 {
     _tree   = tree;
     _outDir = outDir;
 }
Пример #4
0
 public InstanceTree LoadData(Stream stream)
 {
     InstanceTree tree = new InstanceTree();
     StructInstance instance = new StructInstance(this, tree, stream, stream.Position);
     tree.AddChild(instance);
     return tree;
 }
Пример #5
0
 public SaveAllBlobsAction(InstanceTree tree, string outDir)
 {
     _tree = tree;
     _outDir = outDir;
 }
Пример #6
0
 private void FillStructureTree(InstanceTree instanceTree)
 {
     foreach (InstanceTreeNode instance in instanceTree.Children)
     {
         AddInstanceNode(null, instance);
     }
 }