示例#1
0
 public double Visit(CompoundMotherboard compoundMotherboard)
 {
     return(compoundMotherboard.GetSumOfValidMetal());
 }
示例#2
0
 public CompoundInsides(string name, CompoundMotherboard compoundMotherboard, Cooler cooler) : base(name)
 {
     components = new AbstracComponent[2] {
         compoundMotherboard, cooler
     };
 }