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 Public method  Properties Public property  Methods Public method  Events Public event 
 Public

 Protected
 Instance

 Static Static member
 Declared

 Inherited
 XNA Framework Only Supported by the XNA Framework

 .NET Compact Framework Only Supported by the .NET Compact Framework

 MemberDescription
Public methodCommentCommentNew()()
Public eventStatic memberApproved
Occurs after a comment is approved by the comment moderator.
Public eventStatic memberApproving
Occurs just before a comment is approved by the comment moderator.
Public propertyAuthor
Gets or sets the author.
Public methodCompareTo(Comment)
Compares the current object with another object of the same type.
Public propertyContent
Gets or sets the content.
Public propertyCountry
Gets or sets the country.
Public propertyDateCreated
Gets or sets when the comment was created.
Public propertyDescription
Gets the description. Returns always string.empty.
Public propertyEmail
Gets or sets the email.
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode()()
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.)
Public methodGetType()()
Gets the Type of the current instance.
(Inherited from Object.)
Public propertyId
The Id of the comment.
Public propertyIP
Gets or sets the IP address.
Public propertyIsApproved
Gets or sets the Comment approval status
Public propertyIsVisible
Gets whether or not this comment should be shown
Protected methodMemberwiseClone()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnServing(ServingEventArgs)
Raises the Serving event
Public methodStatic memberOnServing(Comment, ServingEventArgs)
Raises the event in a safe way
Public propertyPost
Public propertyRelativeLink
Gets the relative link of the comment.
Public eventStatic memberServing
Occurs when the post is being served to the output stream.
Public propertyTitle
Gets the title of the object
Public methodToString()()
Returns a String that represents the current Object.
(Inherited from Object.)
Public propertyWebsite
Gets or sets the website.

Inheritance Hierarchy

System..::Object
  BlogEngine.Core..::Comment

See Also

BlogEngine.Core Namespace