コード例 #1
0
        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);
        }
コード例 #2
0
        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);
        }
コード例 #3
0
        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);
        }