Beispiel #1
0
        public bool IsValidProduct()
        {
            if (!PersonalComputer.IsValidProduct() || !Software.IsValueValid())
            {
                return(false);
            }

            return(true);
        }
Beispiel #2
0
 public bool SetPersonalComputer(PersonalComputer personalComputer)
 {
     PersonalComputer = personalComputer;
     return(true);
 }
Beispiel #3
0
 public string GetProductDescription()
 {
     return(PersonalComputer.GetProductDescription() + "\n" + Software.GetComponentDescription());
 }
Beispiel #4
0
 public Workstation(PersonalComputer personalComputer, Software software)
 {
     PersonalComputer = PersonalComputer;
     Software         = Software;
 }