public virtual void LinkerSystem(SystemOb other) { for (int i = 0; i < Children.Count; i++) { Component auxOne = Children[i] as Component; for (int j = 0; j < other.Children.Count; j++) { Component auxTwo = other.Children[j] as Component; if (auxOne != null && auxTwo != null) { auxOne.LinkerComponent(auxTwo); } } } }
protected void Linkersystem(SystemOb sysOne, SystemOb sysTwo) { sysOne.LinkerSystem(sysTwo); sysTwo.LinkerSystem(sysOne); }