Пример #1
0
 public double Visit(Cooler cooler)
 {
     return(cooler.Silver);
 }
Пример #2
0
 public CompoundInsides(string name, CompoundMotherboard compoundMotherboard, Cooler cooler) : base(name)
 {
     components = new AbstracComponent[2] {
         compoundMotherboard, cooler
     };
 }