Beispiel #1
0
        public GuitarSpec(Builder builder, string model, Typeg type,
			int numStrings, Wood backWood, Wood topWood)
            : base(builder,model,type,
				backWood,topWood)
        {
            this.numStrings = numStrings;
        }
Beispiel #2
0
        public Guitar(string serialNumber, double price,
			Builder builder, string model, Typeg type,
			Wood backWood, Wood topWood)
        {
            this.serialNumber = serialNumber;
            this.price = price;
            this.guitarSpec = new GuitarSpec (builder, model, type, backWood, topWood);
        }
Beispiel #3
0
 public Guitar(string serialNumber, double price,
               Builder builder, string model, Typeg type,
               Wood backWood, Wood topWood)
 {
     this.serialNumber = serialNumber;
     this.price        = price;
     this.guitarSpec   = new GuitarSpec(builder, model, type, backWood, topWood);
 }
Beispiel #4
0
        public InstrumentSpec(Builder builder, string model, Typeg type,
			Wood backWood, Wood topWood)
        {
            this.builder = builder.ToString();
            this.model = model;
            this.type = type.ToString();
            this.backWood = backWood.ToString();
            this.topWood = topWood.ToString();
        }
Beispiel #5
0
        public void addGuitar(string serialNumber, double price,
			Builder builder, string model,
			Typeg type, Wood backWood, Wood topWood)
        {
            Guitar guitar = new Guitar(serialNumber, price, builder,
                model, type, backWood, topWood);

            guitars.Add(guitar);
        }
        public void addGuitar(string serialNumber, double price,
                              Builder builder, string model,
                              Typeg type, Wood backWood, Wood topWood)
        {
            Guitar guitar = new Guitar(serialNumber, price, builder,
                                       model, type, backWood, topWood);

            guitars.Add(guitar);
        }
 public GuitarSpec(Builder builder, string model, Typeg type,
                   Wood backWood, Wood topWood)
 {
     this.builder  = builder.ToString();
     this.model    = model;
     this.type     = type.ToString();
     this.backWood = backWood.ToString();
     this.topWood  = topWood.ToString();
 }
Beispiel #8
0
        public Guitar(string serialNumber, double price,
			Builder builder, string model, Typeg type,
			Wood backWood, Wood topWood)
        {
            this.serialNumber = serialNumber;
            this.price = price;
            this.builder = builder.ToString();
            this.model = model;
            this.type = type.ToString();
            this.backWood = backWood.ToString();
            this.topWood = topWood.ToString();
        }