Class Comment
- Namespace
- Dynamicweb.Content.Commenting
- Assembly
- Dynamicweb.dll
Represents comments and ratings of items in Dynamicweb
- Inheritance
-
Comment
- Inherited Members
Constructors
Comment()
Initializes a new instance of Comment.
Properties
Active
Gets or sets a value indicating whether this Comment is active.
Property Value
CreatedBy
Gets or sets the user id that created this comment, if logged in.
Property Value
CreatedDate
Gets or sets the created date.
Property Value
EditedBy
Gets or sets the user id that edited this comment, if logged in.
Property Value
EditedDate
Gets or sets the edited date.
Property Value
Gets or sets the email of the user who comments.
Property Value
ID
Property Value
Ip
Gets or sets the ip address of the user who commented.
Property Value
IsNew
Property Value
ItemID
Gets or sets the identifier of commented item, e.g. product id or page id.
Property Value
ItemType
Gets or sets the type of the item. I.e. page, product, news
Property Value
LanguageId
Gets or sets the language identifier, e.g. "LANG1" as product language id or "1" as page area id.
Property Value
Likes
Gets or sets the number of likes of this comment.
Property Value
Name
Gets or sets the name of the user who comments.
Property Value
Nolikes
Gets or sets the number of nolikes of this comment.
Property Value
ParentID
Gets or sets the ID of the parent comment.
Property Value
Rating
Gets or sets the rating made by the user who comments.
Property Value
Replies
Gets the replies.
Property Value
- Comment
Collection The replies.
Text
Gets or sets the text/comment of the user who comments.
Property Value
Website
Gets or sets the website of the user who comments.
Property Value
Methods
GetToken()
Gets a token that can be used to verify actions, e.g. delete, like etc.
Returns
IsValidToken(string)
Parameters
token
string