public Computer ( IMotherboard motherboard, IRam ram, IGraphicsCard graphicsCard, IHardDiskDrive hdd, ICPU cpu ) { this.motherboard = motherboard; this.ram = ram; this.graphicsCard = graphicsCard; this.hdd = hdd; this.cpu = cpu; }
public ComputerBuilder HardDiskDrive(IHardDiskDrive hdd) { this.hdd = hdd; return(this); }