Exemplo n.º 1
0
        }//end Club()

        /// <summary>
        /// Parameterized Constructor for Club
        /// </summary>
        /// <param name="NameIn"> The Name of the club </param>
        /// <param name="DescriptionIn"> The description of the club </param>
        /// <param name="ActiveIn"> Whether or not the club has been activiated </param>
        /// <param name="MemberListIn"> The list of members in the club </param>
        /// <param name="PresidentIn"> The president of the club </param>
        /// <param name="AnnounceIn"> The List of announcements that the club has made </param>
        /// <param name="EventsIn"> The List of events in the club's history </param>
        public Club(String NameIn, String DescriptionIn, Boolean ActiveIn, Members MemberListIn, Member PresidentIn, Announcements AnnounceIn, Events EventsIn)
        {
            this.Name            = NameIn;
            this.Description     = DescriptionIn;
            this.Active          = ActiveIn;
            this.MemberList      = new Members(MemberListIn);
            this.President       = new Member(PresidentIn);
            this.AnnounceHistory = new Announcements(AnnounceIn);
            this.EventList       = new Events(EventsIn);
        }//end Club(String, String, Boolean, Members, Member, Announcement, Event)
Exemplo n.º 2
0
 public Announcements(Announcements AnnouncementsIn)
 {
     this.AnnouncementList = AnnouncementsIn.CopyAnnouncements();
 }
Exemplo n.º 3
0
 public void SetAnnouncements(Announcements AnnouncementsIn)
 {
     this.AnnounceHistory = new Announcements(AnnouncementsIn);
 }