Пример #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
        }
Пример #2
0
 public Headliner(int position, MusicalEvent musicalEvent, MusicalEntity musicalEntity)
     : base(position, musicalEvent, musicalEntity)
 {
 }
Пример #3
0
 public Performer(int position, MusicalEntity musicalEntity)
 {
     ID            = Guid.NewGuid();
     Position      = position;
     MusicalEntity = musicalEntity;
 }
Пример #4
0
 public Support(int position, MusicalEvent musicalEvent, MusicalEntity musicalEntity)
     : base(position, musicalEvent, musicalEntity)
 {
 }