예제 #1
0
 public void InsertChild(int index, CompositeWeight weightedchild)
 {
     if (weightedchild != null)
     {
         weightedchild.Composite.Parent = this;
         this.Children.Insert(index, weightedchild.Composite);
         this.Weights.Insert(index, weightedchild.Weight);
     }
 }
예제 #2
0
 public void InsertChild(int index, CompositeWeight weightedchild)
 {
     if (weightedchild != null)
     {
         weightedchild.Composite.Parent = this;
         this.Children.Insert(index, weightedchild.Composite);
         this.Weights.Insert(index, weightedchild.Weight);
     }
 }
예제 #3
0
 public void AddChild(CompositeWeight weightedchild)
 {
     if (weightedchild != null)
     {
         weightedchild.Composite.Parent = this;
         this.Children.Add(weightedchild.Composite);
         this.Weights.Add(weightedchild.Weight);
     }
 }
예제 #4
0
 public void AddChild(CompositeWeight weightedchild)
 {
     if (weightedchild != null)
     {
         weightedchild.Composite.Parent = this;
         this.Children.Add(weightedchild.Composite);
         this.Weights.Add(weightedchild.Weight);
     }
 }