Content created on the site must implement this interface for the social services to support it.
Comment is defined in the Telligent.Evolution.Extensibility.Api.Entities.Version1 namespace of Telligent.Evolution.Platform.dll
Definition
class Comment
{
Guid CommentContentTypeId { get; }
Guid CommentId { get; set; }
Guid? CommentTypeId { get; set; }
Content Content { get; }
Guid ContentId { get; set; }
Guid ContentTypeId { get; set; }
DateTime CreatedDate { get; set; }
string IPAddress { get; set; }
bool IsApproved { get; set; }
bool IsDeleted { get; }
bool IsFeatured { get; set; }
int NoVotes { get; }
Guid? ParentCommentId { get; set; }
int ReplyCount { get; set; }
int Score { get; }
int SortOrder { get; set; }
int TotalVotes { get; }
DateTime UpdatedDate { get; set; }
int UpdatedUserId { get; set; }
string Url { get; set; }
User User { get; }
int UserId { get; set; }
int YesVotes { get; }
string Body();
string Body(string target);
}
Properties
| Name | Type | Description | Default | Options |
|---|---|---|---|---|
| CommentContentTypeId | Guid | |||
| CommentId | Guid | |||
| CommentTypeId | Guid? | |||
| Content | Content | |||
| ContentId | Guid | A Guid uniquely identifying the content. | ||
| ContentTypeId | Guid | A Guid identifying the type of content. All content of the same type (i.e. wiki page) will have the same value here. | ||
| CreatedDate | DateTime | The date the content was created. | ||
| IPAddress | string | |||
| IsApproved | bool | |||
| IsDeleted | bool | |||
| IsFeatured | bool | |||
| NoVotes | int | |||
| ParentCommentId | Guid? | |||
| ReplyCount | int | |||
| Score | int | |||
| SortOrder | int | |||
| TotalVotes | int | |||
| UpdatedDate | DateTime | |||
| UpdatedUserId | int | |||
| Url | string | A Url to the content on the site. | ||
| User | User | |||
| UserId | int | |||
| YesVotes | int |
Methods
string Body();
Return Type
string
string Body(string target);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| target | string | Target | Required |
Return Type
string