Esempio n. 1
0
 public GSM(string model, string manufacturer, ushort? price, string owner, Battery batteryChar, Display displayChar)
     : this(model, manufacturer, price)
 {
     this.Owner = owner;
     this.batteryCharacteristics = new Battery(batteryChar);
     this.displayCharacteristics = new Display(displayChar);
 }
Esempio n. 2
0
        public GSM(string model, string manufacturer)
        {
            this.Model = model;
            this.Manufacturer = manufacturer;

            this.price = null;
            this.owner = null;
            this.batteryCharacteristics = new Battery();
            this.displayCharacteristics = new Display();
        }
Esempio n. 3
0
 public Display(Display display)
 {
     this.Size = display.Size;
     this.NumberOfColors = display.NumberOfColors;
 }