コード例 #1
0
ファイル: Speakers.cs プロジェクト: Bunny303/TelerikAcademy
 public Speakers(string manafacturer, string model, decimal price, uint count, double size, 
     double sensitivity, Frequency frequencyRange, int power)
     : base(manafacturer, model, price, count)
 {
     this.Size = size;
     this.Sensitivity = sensitivity;
     this.FrequencyRange = frequencyRange;
     this.Power = power;
 }
コード例 #2
0
ファイル: MP3Player.cs プロジェクト: Bunny303/TelerikAcademy
 public MP3Player(string manafacturer, string model, decimal price, uint count, int memory,
     SoundFormat[] supportedFormats, Display display,Frequency frequencyRange, int power)
     : base(manafacturer, model, price, count)
 {
     this.Memory = memory;
     this.SupportedFormats = supportedFormats;
     this.Display = display;
     this.FrequencyRange = frequencyRange;
     this.Power = power;
 }
コード例 #3
0
 public HomeTheatre(string manafacturer, string model, decimal price, uint count,
     Frequency frequencyRange, int power, VideoFormat[] formats, Display display,
     Amplifier amplifier, Speakers[] speakers, TV tv, DvdPlayer dvdPlayer)
     : base(manafacturer, model, price, count)
 {
     this.FrequencyRange = frequencyRange;
     this.Power = power;
     this.Formats = formats;
     this.Display = display;
     this.Amplifier = amplifier;
     this.Speakers = speakers;
     this.TV = tv;
     this.DVDPlayer = dvdPlayer;
 }