Exemplo n.º 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);
     }
 }
Exemplo n.º 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);
     }
 }
Exemplo n.º 3
0
 public void AddChild(CompositeWeight weightedchild)
 {
     if (weightedchild != null)
     {
         weightedchild.Composite.Parent = this;
         this.Children.Add(weightedchild.Composite);
         this.Weights.Add(weightedchild.Weight);
     }
 }
Exemplo n.º 4
0
 public void AddChild(CompositeWeight weightedchild)
 {
     if (weightedchild != null)
     {
         weightedchild.Composite.Parent = this;
         this.Children.Add(weightedchild.Composite);
         this.Weights.Add(weightedchild.Weight);
     }
 }