public BaseNotebook(ComputerTechnics computerTechnics) //связь данного класса с классом ComputerTechnics отношением агрегации. Дает возможность добавлять // в конструктор новую функциональность для текущего объекта { this.computerTechnics = computerTechnics; GetName = "Базовый ноутбук"; GetCost = 30000; }
public StandartNotebook(ComputerTechnics computerTechnics) { this.computerTechnics = computerTechnics; GetName = "Стандартный ноутбук"; GetCost = 60000; }
public PremiumNotebook(ComputerTechnics computerTechnics) { this.computerTechnics = computerTechnics; GetName = "Премиальный ноутбук"; GetCost = 170000; }
public PremiumMouse(ComputerTechnics computerTechnics) { this.computerTechnics = computerTechnics; GetName = "Премиальная мышь"; GetCost = 1200; }
public BaseMouse(ComputerTechnics computerTechnics) { this.computerTechnics = computerTechnics; GetName = "Базовая мышь"; GetCost = 300; }
public StandartMouse(ComputerTechnics computerTechnics) { this.computerTechnics = computerTechnics; GetName = "Стандартная мышь"; GetCost = 600; }
public BaseKeyboard(ComputerTechnics computerTechnics) { this.computerTechnics = computerTechnics; GetName = "Базовая клавиатура"; GetCost = 500; }
public StandartKeyboard(ComputerTechnics computerTechnics) { this.computerTechnics = computerTechnics; GetName = "Стандартная клавиатура"; GetCost = 1500; }
public PremiumKeyboard(ComputerTechnics computerTechnics) { this.computerTechnics = computerTechnics; GetName = "Премиальная клавиатура"; GetCost = 3000; }