Beispiel #1
0
 private static void RenderMember(List<Member> members, bool viewAll = false)
 {
     //Renders a specific member
     MemberRender mr = new MemberRender();
     Member m;
     try
     {
         m = GetMember("   Choose a member to display   ", members);
         if (m != null)
         {
             Console.Clear();
             mr.Render(m);
             ContinueOnKeyPressed();
         }
     }
     catch
     {
         throw new ArgumentException("Something went wrong when attempting to display the member list.");
     }
 }
Beispiel #2
0
 private static void RenderMember(List<Member> members)
 {
     //Renders all members in the list
     MemberRender mr = new MemberRender();
     mr.Render(members);
     ContinueOnKeyPressed();
 }