Example #1
0
        public Performance(int position, MusicalEvent musicalEvent, MusicalEntity musicalEntity)
        {
            ID         = Guid.NewGuid();
            Position   = position;
            Performers = new List <Performer>();

            if (musicalEntity != null)
            {
                Performers.Add(new Performer(Performers.Count() + 1, musicalEntity));
            }

            Event    = musicalEvent;
            Attended = true;        // By default, it's assumed that the performance was seen
        }
Example #2
0
 public Headliner(int position, MusicalEvent musicalEvent, MusicalEntity musicalEntity)
     : base(position, musicalEvent, musicalEntity)
 {
 }
Example #3
0
 public Performer(int position, MusicalEntity musicalEntity)
 {
     ID            = Guid.NewGuid();
     Position      = position;
     MusicalEntity = musicalEntity;
 }
Example #4
0
 public Support(int position, MusicalEvent musicalEvent, MusicalEntity musicalEntity)
     : base(position, musicalEvent, musicalEntity)
 {
 }