Пример #1
0
 public GSM(string model, string manufacturer, double? price, string owner, Battery battery, Display display)
     : this(model, manufacturer, owner)
 {
     this.Price = price;  //property
     this.Battery = battery; //property
     this.Display = display; //property
 }
Пример #2
0
 //Constructors
 public GSM(string model, string manufacturer, Battery battery, Display display)
 {
     this.Model = model;
     this.Manufacturer = manufacturer;
     this.Battery = battery;
     this.Display = display;
     this.CallHistory = new List<Calls>();
 }
 public GSM(string model, string manifacturer, decimal? price, string owner, Battery battery, Display display)
 {
     this.Model = model;
     this.Manifacturer = manifacturer;
     this.Price = price;
     this.Owner = owner;
     this.Battery = battery;
     this.Display = display;
     this.callsList = new List<Call>();
 }
 public GSM(string model, string manifacturer, decimal? price, string owner, Battery battery)
     : this(model, manifacturer, price, owner, battery, null)
 {
 }
Пример #5
0
 public GSM(string model, string manufacturer, decimal price, string owner, Battery battery, Display display)
     : this(model, manufacturer, price, battery, display)
 {
     this.Owner = owner;
     this.CallHistory = new List<Calls>();
 }
Пример #6
0
        public GSM(string model, string manufact, decimal price, string owner, Battery bat, Display disp)
        {
            this.Model = model;

            this.Manufacturer = manufact;

            this.Price = price;

            this.Owner = owner;

            this.Battery = bat;

            this.Display = disp;

            this.callHistory = new List<Call>();
        }
Пример #7
0
 public GSM(string model, string manufacturer, decimal price, string owner, Battery battery, Display display)
     : this(model, manufacturer, price, battery, display)
 {
     this.Owner       = owner;
     this.CallHistory = new List <Calls>();
 }
Пример #8
0
 public GSM(string model, string manufacturer, double?price = null, string owner = null, Battery battery = null, Display display = null)
 {
     this.Model        = model;
     this.Manufacturer = manufacturer;
     this.Price        = price;
     this.Owner        = owner;
     this.Battery      = battery;
     this.Display      = display;
 }