コード例 #1
0
 public MobileDevice(string model, string manifacturer, decimal price)
     : this(model, manifacturer)
 {
     this.price = price;
     this.callHistory = new List<Call>();
     this.battery = new Battery();
     this.display = new Display();
 }
コード例 #2
0
 public MobileDevice(string model, string manifacturer, decimal price, string owner, Battery battery, Display display)
     : this(model, manifacturer, price, owner, battery)
 {
     this.display = display;
     this.callHistory = new List<Call>();
     this.battery = new Battery();
     this.display = new Display();
 }
コード例 #3
0
 public MobileDevice(string model, string manifacturer)
 {
     this.model = model;
     this.manifacturer = manifacturer;
     this.callHistory = new List<Call>();
     this.battery = new Battery();
     this.display = new Display();
 }