public override void extractDetailsFromObject()
        {
            User user = ObjectModel as User;

            DetailsDictionary.Add("Name", user.Name);
            if (user.Location != null && user.Location.Name != null)
            {
                DetailsDictionary.Add("Hometown", user.Location.Name);
            }
            else
            {
                DetailsDictionary.Add("Hometown", "Unknown");
            }

            DetailsDictionary.Add("PictureURL", user.PictureNormalURL);
            DetailsDictionary.Add("Birthday", user.Birthday);
            Posts = new string[user.Posts.Count];

            for (int i = 0; i < user.Posts.Count; i++)
            {
                if (user.Posts[i].Message != null)
                {
                    Posts[i] = user.Posts[i].Message;
                }
                else if (user.Posts[i].Caption != null)
                {
                    Posts[i] = user.Posts[i].Caption;
                }
                else
                {
                    Posts[i] = string.Format("[{0}]", user.Posts[i].Type);
                }
            }
        }
        public override void extractDetailsFromObject()
        {
            Post post = ObjectModel as Post;

            DetailsDictionary.Add("Name", post.Name);
            DetailsDictionary.Add("Caption", post.Caption);
            DetailsDictionary.Add("Message", post.Message);
            DetailsDictionary.Add("Description", post.Description);
            Comments = new string[post.Comments.Count];
            for (int i = 0; i < post.Comments.Count; i++)
            {
                Comments[i] = post.Comments[i].Message;
            }
        }