Ejemplo n.º 1
0
        public InstrumentTypes()
        {
            Woodwind   = new InstrumentType("Woodwind");
            Brass      = new InstrumentType("Brass");
            String     = new InstrumentType("String");
            Percussion = new InstrumentType("Percussion");
            Electronic = new InstrumentType("Electronic");
            Vocal      = new InstrumentType("Vocal");

            All = new List <InstrumentType>
            {
                Woodwind,
                Brass,
                String,
                Percussion,
                Electronic,
                Vocal,
            };
        }
Ejemplo n.º 2
0
 public Instrument(string name, InstrumentType type)
 {
     Name = name;
     Type = type;
 }