Ejemplo n.º 1
0
 public void Set(Member a_member)
 {
     m_firstName = a_member.m_firstName;
     m_lastName = a_member.m_lastName;
     m_personalNumber = a_member.m_personalNumber;
 }
Ejemplo n.º 2
0
 public Member(Member a_member, int a_memberId)
 {
     m_memberId = a_memberId;
     Set(a_member);
 }
Ejemplo n.º 3
0
 public void AddMember(Member a_member)
 {
     m_members.Add(new Member(a_member, m_memberId));
     m_memberId++;
 }
Ejemplo n.º 4
0
 public void DeleteMember(Member a_member)
 {
     m_members.Remove(a_member);
 }
Ejemplo n.º 5
0
 public void UpdateMember(Member a_old, Member a_new)
 {
     a_old.Set(a_new);
 }