예제 #1
0
 /// <summary>
 /// Creates a agenda.
 /// </summary>
 /// <param name="agenda">The agenda to create.</param>
 public void CreateAgenda(Agenda agenda)
 {
     // TODO: Create agenda logic
 }
 /// <summary>
 /// create a boardmeeting
 /// </summary>
 /// <param name="agenda"></param>
 public BoardMeeting(Agenda agenda)
 {
     Agenda = agenda;
 }
 /// <summary>
 /// create a boardmeeting with id
 /// </summary>
 /// <param name="id"></param>
 /// <param name="agenda"></param>
 public BoardMeeting(int id, Agenda agenda) : this(agenda)
 {
     this.id = id;
 }
 /// <summary>
 /// ToString with the agenda.ToString() and members.ToString(), overridden
 /// </summary>
 /// <returns></returns>
 public override string ToString()
 => $"{id}: {Agenda.ToString()}, {Members.ToString()}";