The IComment type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | Clone | Creates a new object that is a copy of the current instance. (Inherited from ICloneable.) |
![]() | GetAttribute | Overloaded. |
![]() | GetAttributes | Overloaded. |
![]() | GetAttributeValue | Overloaded. |
![]() | GetAttributeValues | Overloaded. |
![]() | GetComments |
Gets comments for this entity with paging support. Default sorting on created, descending.
(Inherited from ICommentableEntity.) |
![]() | GetEntityTags | (Inherited from ITaggableEntity.) |
![]() | GetLastVisit |
Gets the last IVisit for the current entity.
(Inherited from IVisitableEntity.) |
![]() | GetLogEntries |
Gets a ActivityLogCollection of all log entries for the loggable entity
(Inherited from ILoggableEntity.) |
![]() | GetNumComments |
Gets the total number of comments for this entity
(Inherited from ICommentableEntity.) |
![]() | GetNumVisits |
Gets the total number of visits for the current entity.
(Inherited from IVisitableEntity.) |
![]() | GetReportCases | Overloaded. |
![]() | LoadEntityData |
Loads the data from all extensions into the instance
(Inherited from IFrameworkEntity.) |
![]() | SetAttributeValue | Overloaded. |
Properties
Name | Description | |
---|---|---|
![]() | Author |
gets and sets the IAuthor of the comment
|
![]() | AvgRating |
Gets the average rating for the current entity.
(Inherited from IRatableEntity.) |
![]() | CacheKey |
Returns the cache key under which the current object should be stored.
(Inherited from ICacheable.) |
![]() | Categories |
Gets the categories that this entity is connected to
(Inherited from ICategorizableEntity.) |
![]() | CommentableItemID |
The ID of the commentable item. Used by the query system.
|
![]() | CommentedEntity |
The commented ICommentableEntity entity
|
![]() | Content |
Gets the sets the text content of the comment
|
![]() | Created |
Gets when the comment was created
|
![]() | DependencyItems | (Inherited from ICacheableDependent.) |
![]() | EntityTags |
Gets a collection of IEntityTag objects (tags) assigned to this entity.
(Inherited from ITaggableEntity.) |
![]() | ID |
Gets the unique identifier of the entity.
By saying unique, it means the integer must be unique for this specific .NET Data Type.
(Inherited from IEntity.) |
![]() | IsRatable |
Gets whether the current object is set as ratable.
(Inherited from IRatableEntity.) |
![]() | IsReported |
Gets if the entity has at least one open report case
(Inherited from IReportableEntity.) |
![]() | Item | Overloaded. |
![]() | LastUpdated |
Gets when the comment was last updated
|
![]() | LoadedAttributes |
Gets a dictionary of all sites where the key is the site's ID (-1 is reserved for the global site) and
the value is a dictionary of all attributes defined for the type where the key is the attribute's name.
(Inherited from IAttributeExtendableEntity.) |
![]() | NumRatings |
Gets the number of ratings for the current entity.
(Inherited from IRatableEntity.) |
![]() | ReadOnly |
Specifies if this instance should prohibit changes to it.
To make changes, Clone() this instance and make your changes to the
returned object instead.
(Inherited from ICloneable.) |
![]() | ReportData |
Gets ReportData containing content data for the reported object
(Inherited from IReportableEntity.) |
![]() | Tags |
Gets a sorted TagCollection of all (distinct) tags set on this object.
(Inherited from ITaggableEntity.) |
![]() | Title |
Gets and sets the title of the comment
|