public bool IsValidProduct() { if (!PersonalComputer.IsValidProduct() || !Software.IsValueValid()) { return(false); } return(true); }
public bool SetPersonalComputer(PersonalComputer personalComputer) { PersonalComputer = personalComputer; return(true); }
public string GetProductDescription() { return(PersonalComputer.GetProductDescription() + "\n" + Software.GetComponentDescription()); }
public Workstation(PersonalComputer personalComputer, Software software) { PersonalComputer = PersonalComputer; Software = Software; }