public abstract void Add(HardDriveComponent hardDrive);
Beispiel #2
0
 public override void Add(HardDriveComponent hardDrive)
 {
     this.hardDrives.Add(hardDrive);
 }
 public override void Add(HardDriveComponent hardDrive)
 {
     throw new ArgumentException("Hard drivers cannot add another hard driver!");
 }