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