Example #1
0
 public Computer(ICpu cpu, IRam ram, IEnumerable<HardDrive> hardDrives, VideoCardBase videoCard)
 {
     this.Cpu = cpu;
     this.Ram = ram;
     this.HardDrives = hardDrives;
     this.VideoCard = videoCard;
 }
Example #2
0
 internal Cpu(byte numberOfCores, byte numberOfBits, IRam ram, VideoCardBase videoCard, BaseSquareNumberFinder squareNumberFinder)
 {
     this.NumberOfBits = numberOfBits;
     this.ram = ram;
     this.NumberOfCores = numberOfCores;
     this.videoCard = videoCard;
     this.squareNumberFinder = squareNumberFinder;
 }
Example #3
0
 public Pc(ICpu cpu, IRam ram, IEnumerable<HardDrive> hardDrives, VideoCardBase videoCard)
     : base(cpu, ram, hardDrives, videoCard)
 {
 }
Example #4
0
 public Pc(ICpu cpu, IRam ram, IEnumerable <HardDrive> hardDrives, VideoCardBase videoCard)
     : base(cpu, ram, hardDrives, videoCard)
 {
 }
Example #5
0
 public Laptop(ICpu cpu, IRam ram, IEnumerable<HardDrive> hardDrives, VideoCardBase videoCard, LaptopBattery battery)
     : base(cpu, ram, hardDrives, videoCard)
 {
     this.battery = battery;
 }