Example #1
0
 public abstract void Remove(ComponentForTransparent c);
Example #2
0
 public abstract void Add(ComponentForTransparent c);
Example #3
0
 public override void Remove(ComponentForTransparent component)
 {
     children.Remove(component);
 }
Example #4
0
 // Methods
 public override void Add(ComponentForTransparent component)
 {
     children.Add(component);
 }
Example #5
0
 public override void Remove(ComponentForTransparent c)
 {
     Console.WriteLine("Cannot remove from a leaf");
 }
Example #6
0
 // Methods
 public override void Add(ComponentForTransparent c)
 {
     Console.WriteLine("Cannot add to a leaf");
 }