Represents a comment to a blog post.
Namespace: BlogEngine.Core
Assembly: BlogEngine.Core (in BlogEngine.Core.dll)
Version: 1.2.0.0
Syntax
| C# | Visual Basic | Visual C++ |
[SerializableAttribute] public class Comment : IComparable<Comment>, IPublishable
<SerializableAttribute> _ Public Class Comment _ Implements IComparable(Of Comment), IPublishable
[SerializableAttribute] public ref class Comment : IComparable<Comment^>, IPublishable
Members
| All Members | Constructors | Properties | Methods | Events |
| Member | Description | |
|---|---|---|
| CommentCommentNew()() | ||
| Approved |
Occurs after a comment is approved by the comment moderator.
| |
| Approving |
Occurs just before a comment is approved by the comment moderator.
| |
| Author |
Gets or sets the author.
| |
| CompareTo(Comment) |
Compares the current object with another object of the same type.
| |
| Content |
Gets or sets the content.
| |
| Country |
Gets or sets the country.
| |
| DateCreated |
Gets or sets when the comment was created.
| |
| Description |
Gets the description. Returns always string.empty.
| |
Gets or sets the email.
| ||
| Equals(Object) | (Inherited from Object.) | |
| Finalize()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode()() | Serves as a hash function for a particular type. GetHashCode()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType()() | Gets the Type of the current instance. (Inherited from Object.) | |
| Id |
The Id of the comment.
| |
| IP |
Gets or sets the IP address.
| |
| IsApproved |
Gets or sets the Comment approval status
| |
| IsVisible |
Gets whether or not this comment should be shown
| |
| MemberwiseClone()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnServing(ServingEventArgs) |
Raises the Serving event
| |
| OnServing(Comment, ServingEventArgs) |
Raises the event in a safe way
| |
| Post | ||
| RelativeLink |
Gets the relative link of the comment.
| |
| Serving |
Occurs when the post is being served to the output stream.
| |
| Title |
Gets the title of the object
| |
| ToString()() | (Inherited from Object.) | |
| Website |
Gets or sets the website.
|
Inheritance Hierarchy
See Also
BlogEngine.Core Namespace