Class Comment
A comment is a block of text posted about something in the bank. For example, it might be descriptive commentary from an instructor building a specification, or it might be feedback from a student on a specific question.
public class Comment
- Inheritance
-
Comment
- Inherited Members
- Extension Methods
Constructors
Comment()
public Comment()
Properties
Author
The person who posted the comment.
public Guid Author { get; set; }
Property Value
AuthorRole
The role of the author posting the comment (Administrator|Candidate).
public string AuthorRole { get; set; }
Property Value
Category
Used by administrators to categorize/classify comments.
public string Category { get; set; }
Property Value
EventDate
The date of the exam event activity to which the comment pertains.
public DateTimeOffset? EventDate { get; set; }
Property Value
EventFormat
The format of the exam event activity to which the comment pertains.
public string EventFormat { get; set; }
Property Value
Flag
The colored flag assigned to the comment.
public FlagType Flag { get; set; }
Property Value
Identifier
Uniquely identifies the comment.
public Guid Identifier { get; set; }
Property Value
Instructor
The instructor or training provider to whom the comment pertains.
public Guid? Instructor { get; set; }
Property Value
- Guid?
IsHidden
If true then a comment is hidden/archived.
public bool IsHidden { get; set; }
Property Value
Posted
The date and time the comment was posted.
public DateTimeOffset Posted { get; set; }
Property Value
Revised
The date and time the comment was revised.
public DateTimeOffset? Revised { get; set; }
Property Value
Revisor
The person who revised the comment.
public Guid? Revisor { get; set; }
Property Value
- Guid?
Subject
Uniquely identifies the subject of the comment.
public Guid Subject { get; set; }
Property Value
Text
The body text for the comment itself. (We do NOT need multilingual support here. Authors are expected to post comments in whatever language they speak.)
public string Text { get; set; }
Property Value
Type
Identifies the type for the Subject of the comment. Type and Subject taken together can be used to find the thing that the comment is about.
public CommentType Type { get; set; }
Property Value
Methods
Clone()
public Comment Clone()
Returns
GetSubjectTitle(BankState)
public string GetSubjectTitle(BankState bank)
Parameters
bankBankState