private List <BasicUserData> makeAttendingUsersList() { FacebookObjectCollection <User> attendingUserList = m_Event.AttendingUsers; List <BasicUserData> attendingBasicUserDataList = new List <BasicUserData>(); BasicUserData basicUserData; foreach (User user in attendingUserList) { basicUserData = new BasicUserData(user); attendingBasicUserDataList.Add(basicUserData); } return(attendingBasicUserDataList); }
private List <BasicUserData> makeDeclinedUsersList() { FacebookObjectCollection <User> declinedUserList = m_Event.DeclinedUsers; List <BasicUserData> declinedBasicUserDataList = new List <BasicUserData>(); BasicUserData basicUserData; foreach (User user in declinedUserList) { basicUserData = new BasicUserData(user); declinedBasicUserDataList.Add(basicUserData); } return(declinedBasicUserDataList); }
private List <BasicUserData> makeBasicFriendList() { List <BasicUserData> basicFriendList = new List <BasicUserData>(); BasicUserData friend; try { foreach (User user in r_User.Friends) { friend = new BasicUserData(user); basicFriendList.Add(friend); } } catch (Exception) { } return(basicFriendList); }