예제 #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;
 }