示例#1
0
 /// <summary>
 /// hydrate the object from schema object deserialized from xml response.
 /// </summary>
 public FacebookStreamLikes(stream_likes likes)
 {
     this.Count     = likes.count;
     this.Friends   = likes.friends.uid;
     this.Href      = likes.href;
     this.UserLikes = likes.user_likes;
 }
示例#2
0
 /// <summary>
 /// Initialized new ActivityPostLikes object
 /// </summary>
 /// <param name="like"></param>
 internal ActivityPostLikes(stream_likes like)
 {
     this.href       = like.href;
     this.count      = like.count;
     this.sample     = like.sample;
     this.friends    = like.friends;
     this.user_likes = like.user_likes;
 }