|
using System;
namespace Mf.Service.WebSpider
{
/// <summary>
/// Summary description for WebPage.
/// </summary>
public class WebPage
{
private WebPage( ) {}
public WebPage( string url )
{
m_status = PageStatus.Pending;
m_url = url;
}
#region properties
WebPage.PageStatus m_status;
string m_url;
string m_content;
public WebPage.PageStatus Status
{
get
{
return m_status;
}
set
{
m_status = value;
}
}
public string Url
{
get
{
return m_url;
}
}
public string Content
{
get
{
return m_content;
}
set
{
m_content = value;
}
}
#endregion
public enum PageStatus
{
Pending,
Success,
Fail,
Skip
}
}
}
|
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
I have been programming commercially since 1990, my last two major roles have been Architect/Lead Developer for an online bank and Australia's largest consumer finance comparison portal.
On the side I am a Forex Currency Trader and actively develop tools and applications for Currency Traders.
I have just launched a personal blog at
www.davidcruwys.com and a website targeting Foreign Exchange traders at
www.my-trading-journal.com