Example #1
0
 /// <summary>
 /// Create a new Comment from a remote instance object.
 /// </summary>
 /// <param name="remoteComment">The remote comment.</param>
 public Comment(RemoteComment remoteComment)
 {
     Id           = remoteComment.id;
     Author       = remoteComment.author;
     Body         = remoteComment.body;
     CreatedDate  = remoteComment.created;
     GroupLevel   = remoteComment.groupLevel;
     RoleLevel    = remoteComment.roleLevel;
     UpdateAuthor = remoteComment.updateAuthor;
     UpdatedDate  = remoteComment.updated;
     Visibility   = remoteComment.visibility;
     _properties  = remoteComment.properties;
     RenderedBody = remoteComment.renderedBody;
 }
Example #2
0
 /// <summary>
 /// Create a new Comment from a remote intance object.
 /// </summary>
 /// <param name="remoteComment">The remote comment.</param>
 public Comment(RemoteComment remoteComment)
 {
     _remoteComment = remoteComment;
 }