Click here to Skip to main content
12,620,900 members (32,461 online)
Click here to Skip to main content
Articles » Languages » C# » General » Downloads

Stats

61.5K views
350 downloads
47 bookmarked
Posted

LINQ To Google Image and Google Groups

, 8 May 2007
A LINQ Implementation for Google Images/Groups Search
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.

License

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

Share

About the Author

Ming.Chen
Web Developer
United States United States

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.161128.1 | Last Updated 8 May 2007
Article Copyright 2007 by Ming.Chen
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid