Inheritance diagram for Server.Comment:


Public Member Functions | |
| Comment (int id, Person poster, string title, string text, CommentType type) | |
| Constructs a new comment object. | |
| Comment (int id, Person poster, string title, string text, CommentType type, DateTime time) | |
| Constructs a new comment object. | |
Properties | |
| Person | Poster [get] |
| Return the Person who has made the comment. | |
| List< Comment > | Comments [get] |
| Return a list of comments to this comment. | |
| DateTime | Date [get] |
| Return the creation time of the comment. A DataTime. | |
| string | Text [get, set] |
| Get or set the text of this comment. | |
| string | Title [get, set] |
| Get or set the title of this comment. | |
| CommentType | CommentType [get, set] |
| Gets or sets the type of comment. | |
Private Attributes | |
| Person | poster |
| string | title |
| string | text |
| DateTime | date |
| List< Comment > | comments |
| CommentType | type |
Definition at line 14 of file Comment.cs.
| Server.Comment.Comment | ( | int | id, | |
| Person | poster, | |||
| string | title, | |||
| string | text, | |||
| CommentType | type | |||
| ) |
Constructs a new comment object.
| poster | The person who made the comment. | |
| title | The title/subject of the comment. | |
| text | The actual text of the comment. | |
| type | The type of comment. E.g. reference or literature. |
Definition at line 30 of file Comment.cs.
References Server.Comment.comments, and Server.Comment.poster.
| Server.Comment.Comment | ( | int | id, | |
| Person | poster, | |||
| string | title, | |||
| string | text, | |||
| CommentType | type, | |||
| DateTime | time | |||
| ) |
Constructs a new comment object.
| poster | The person who made the comment. | |
| title | The title/subject of the comment. | |
| text | The actual text of the comment. | |
| type | The type of comment. E.g. reference or literature. | |
| time | Time of posting. |
Definition at line 48 of file Comment.cs.
References Server.Comment.comments, and Server.Comment.poster.
Person Server.Comment.Poster [get] |
Return the Person who has made the comment.
Definition at line 63 of file Comment.cs.
Referenced by Server.Data.BinaryData.SerializeComment(), and Server.Test.PersistentDataTest.TestComments().
List<Comment> Server.Comment.Comments [get] |
Return a list of comments to this comment.
Definition at line 71 of file Comment.cs.
Referenced by Server.Data.BinaryData.SerializeComment(), and Server.Test.PersistentDataTest.TestComments().
DateTime Server.Comment.Date [get] |
Return the creation time of the comment. A DataTime.
Definition at line 79 of file Comment.cs.
Referenced by Server.Data.BinaryData.SerializeComment(), and Server.Test.PersistentDataTest.TestComments().
string Server.Comment.Text [get, set] |
Get or set the text of this comment.
Definition at line 87 of file Comment.cs.
Referenced by Server.Data.BinaryData.SerializeComment(), and Server.Test.PersistentDataTest.TestComments().
string Server.Comment.Title [get, set] |
Get or set the title of this comment.
Definition at line 96 of file Comment.cs.
Referenced by Server.Data.BinaryData.SerializeComment(), and Server.Test.PersistentDataTest.TestComments().
CommentType Server.Comment.CommentType [get, set] |
1.5.1-p1