public SolutionComponentLeaf AddModel(SolutionComponent component)
        {
            var child = new SolutionComponentLeaf(this, component);

            this.children.Add(child);
            return(child);
        }
Esempio n. 2
0
 public SolutionComponentLeaf(SolutionComponentNode parent, SolutionComponent component)
     : base(component.objectid.ToString(), parent)
 {
     this.Environments = new List <ConnectionModel>();
     this.component    = component;
 }