Exemplo 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);
 }
Exemplo 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();
        }
Exemplo n.º 3
0
 public Display(Display display)
 {
     this.Size = display.Size;
     this.NumberOfColors = display.NumberOfColors;
 }