|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MChen.Linq.GoogleSearch.Common;
namespace MChen.Linq.GoogleSearch.Groups
{
public class Message : Result
{
public string Subject { get; internal set; }
public string Group {
get { return Domain; }
}
public string InitialAuthor { get; internal set; }
public DateTime PostDate { get; internal set; }
public int Rating { get; internal set; }
public int NumberOfReply { get; internal set; }
public int NumberOfAuthors { get; internal set; }
public override string ToString()
{
StringBuilder sb = new StringBuilder();
sb.AppendFormat("{7} --> {0}\n\tRating: {8}\n\tUrl: {1}\n\tGroup: " +
"{2}\n\tPostDate: {3}\n\tInitial Author: {4}\n\t" +
"Number of Replies: {5}\n\tSummary: {6}",
Subject,
Url,
Group,
PostDate,
InitialAuthor,
NumberOfReply,
Description,
Rank,
Rating);
return sb.ToString();
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here