Exemple #1
0
 public Memory(int r, decimal p, string n, int a, string t, int s,int v, double d = 1f, Manufacturer m = null)
     : base(r, p, n, a, d,m)
 {
     Speed = s;
     Type = t;
     Volume = v;
 }
Exemple #2
0
 public Product(int r, decimal p, string n, int a, double d = 1.0f , Manufacturer m = null)
     : this()
 {
     Reference = r;
     Price = p;
     Name = n;
     Amount = a;
     Discount = d;
     Manufacturer = m;
 }
Exemple #3
0
 public HardDisk(int r, decimal p, string n, int a, string t, int v, double d = 1f, Manufacturer m = null)
     : base(r, p, n, a, d,m)
 {
     Type = t;
     Volume = v;
 }
Exemple #4
0
 public Processor(int r, decimal p, string n, int a,string t,int f, double d = 1f, Manufacturer m = null)
     : base(r, p, n, a, d,m)
 {
     Type = t;
     Frequency = f;
 }
Exemple #5
0
 public Mouse(int r, decimal p, string n, int a, string t,string s, double d = 1f, Manufacturer m = null)
     : base(r, p, n, a, d, m)
 {
     Type = t;
     Slot = s;
 }