Ejemplo n.º 1
0
 public void Construct(BaseComputer computer)
 {
     computer.GetProcessor();
     computer.GetRom();
     computer.GetHdd();
     computer.GetVideoCard();
 }
Ejemplo n.º 2
0
 public override decimal GetPrice()
 {
     return((100 - DiscountRate) * BaseComputer.GetPrice() / 100);
 }
Ejemplo n.º 3
0
 internal override string GetDescription()
 {
     return(BaseComputer.GetDescription() + ", External HDD");
 }
Ejemplo n.º 4
0
 internal override string GetDescription()
 {
     return(BaseComputer.GetDescription() + ", Graphics Card");
 }
Ejemplo n.º 5
0
 internal override double GetCost()
 {
     return(BaseComputer.GetCost() + ConstantCosts.ExternalHdd);
 }
Ejemplo n.º 6
0
 internal override string GetDescription()
 {
     return(BaseComputer.GetDescription() + ", USB Keyboard");
 }
Ejemplo n.º 7
0
 internal override double GetCost()
 {
     return(BaseComputer.GetCost() + ConstantCosts.GraphicsCard);
 }
Ejemplo n.º 8
0
 internal override double GetCost()
 {
     return(BaseComputer.GetCost() + ConstantCosts.UsbKeyboard);
 }
Ejemplo n.º 9
0
 internal override string GetDescription()
 {
     return(BaseComputer.GetDescription() + ", USB Mouse");
 }
Ejemplo n.º 10
0
 internal override double GetCost()
 {
     return(BaseComputer.GetCost() + ConstantCosts.UsbMouse);
 }
Ejemplo n.º 11
0
 internal override string GetDescription()
 {
     return(BaseComputer.GetDescription() + ", DVD Drive");
 }
Ejemplo n.º 12
0
 internal override double GetCost()
 {
     return(BaseComputer.GetCost() + ConstantCosts.DvdDrive);
 }