コード例 #1
0
ファイル: GSM.cs プロジェクト: Boyan1912/C-Sharp-OOP
 public GSM(string model, string manufacturer, double price, string owner, Battery battery, Display display)
 {
     this.Model = model;
     this.Manufacturer = manufacturer;
     this.Price = price;
     this.Owner = owner;
     this.phoneBattery = battery;
     this.phoneDisplay = display;
 }
コード例 #2
0
 public MobilePhone(string manufacturer, string model, decimal? price, string owner, Battery battery, Display display)
 {
     this.manufacturer = manufacturer;
     this.model = model;
     this.price = price;
     this.owner = owner;
     this.battery = battery;
     this.display = display;
     this.phoneCallsList = new List<Call>();
 }
コード例 #3
0
ファイル: GSM.cs プロジェクト: GeorgiNik/TelerikAcademy
		public GSM(string model, string manufacturer, double? price, string owner, Battery battery, Display display, List<Call> callHistory)
		{
			this.Model = model;
			this.Manucfacturer = manufacturer;
			this.Price = price;
			this.Owner = owner;
			this.Battery = battery;
			this.Display = display;
			this.CallHistory = callHistory;
		}
コード例 #4
0
ファイル: GSM.cs プロジェクト: GeorgiNik/TelerikAcademy
		public GSM(string model, string manufacturer, Battery battery) { this.Battery = battery; }