Esempio n. 1
0
 /// <summary>
 /// Returns the message subject.
 /// </summary>
 public static string tagSubject(this CIXMessage message, StyleController styleController)
 {
     return styleController.StringFromTag(message.Subject.FirstNonBlankLine());
 }
Esempio n. 2
0
 /// <summary>
 /// Returns the message reply.
 /// </summary>
 public static string tagInReplyTo(this CIXMessage message, StyleController styleController)
 {
     return message.CommentID > 0 ? string.Format("cix:{0}/{1}:{2}", message.Forum.Name, message.Topic.Name, message.CommentID) : string.Empty;
 }
Esempio n. 3
0
 /// <summary>
 /// Returns the message address.
 /// </summary>
 public static string tagLink(this CIXMessage message, StyleController styleController)
 {
     return string.Format("cix:{0}/{1}:{2}", message.Forum.Name, message.Topic.Name, message.RemoteID);
 }
Esempio n. 4
0
 /// <summary>
 /// Returns the message remote ID.
 /// </summary>
 public static string tagID(this CIXMessage message, StyleController styleController)
 {
     return string.Format("{0}", message.RemoteID);
 }
Esempio n. 5
0
 /// <summary>
 /// Returns a custom image tag representing the message author. This will
 /// have been resolved earlier in the HTML load code that maps image tags
 /// to actual images.
 /// </summary>
 public static string tagImage(this CIXMessage message, StyleController styleController)
 {
     return styleController.ImageFromTag(message.Author);
 }
Esempio n. 6
0
 /// <summary>
 /// Returns the message comment ID.
 /// </summary>
 public static string tagCommentID(this CIXMessage message, StyleController styleController)
 {
     return message.CommentID > 0 ? string.Format("{0}", message.CommentID) : string.Empty;
 }
Esempio n. 7
0
 /// <summary>
 /// Returns the message date.
 /// </summary>
 public static string tagDate(this CIXMessage message, StyleController styleController)
 {
     return styleController.DateFromTag(message.Date);
 }
Esempio n. 8
0
 /// <summary>
 /// Returns the message address.
 /// </summary>
 public static string tagLink(this CIXMessage message, StyleController styleController)
 {
     return(string.Format("cix:{0}/{1}:{2}", message.Forum.Name, message.Topic.Name, message.RemoteID));
 }
Esempio n. 9
0
 /// <summary>
 /// Returns the message body.
 /// </summary>
 public static string tagBody(this CIXMessage message, StyleController styleController)
 {
     return styleController.HtmlFromTag(message.Body);
 }
Esempio n. 10
0
 /// <summary>
 /// Returns the message subject.
 /// </summary>
 public static string tagSubject(this CIXMessage message, StyleController styleController)
 {
     return(styleController.StringFromTag(message.Subject.FirstNonBlankLine()));
 }
Esempio n. 11
0
 /// <summary>
 /// Returns the message reply.
 /// </summary>
 public static string tagInReplyTo(this CIXMessage message, StyleController styleController)
 {
     return(message.CommentID > 0 ? string.Format("cix:{0}/{1}:{2}", message.Forum.Name, message.Topic.Name, message.CommentID) : string.Empty);
 }
Esempio n. 12
0
 /// <summary>
 /// Returns the message date.
 /// </summary>
 public static string tagDate(this CIXMessage message, StyleController styleController)
 {
     return(styleController.DateFromTag(message.Date));
 }
Esempio n. 13
0
 /// <summary>
 /// Returns the message author.
 /// </summary>
 public static string tagAuthor(this CIXMessage message, StyleController styleController)
 {
     return(styleController.StringFromTag(message.Author));
 }
Esempio n. 14
0
 /// <summary>
 /// Returns the message body.
 /// </summary>
 public static string tagBody(this CIXMessage message, StyleController styleController)
 {
     return(styleController.HtmlFromTag(message.Body));
 }
Esempio n. 15
0
 /// <summary>
 /// Returns the message comment ID.
 /// </summary>
 public static string tagCommentID(this CIXMessage message, StyleController styleController)
 {
     return(message.CommentID > 0 ? string.Format("{0}", message.CommentID) : string.Empty);
 }
Esempio n. 16
0
 /// <summary>
 /// Returns the message remote ID.
 /// </summary>
 public static string tagID(this CIXMessage message, StyleController styleController)
 {
     return(string.Format("{0}", message.RemoteID));
 }