网页解析器接口定义public interface IParser
{
#region Events
event ActivatedEventHandler Activated;
event DeActivatedEventHandler DeActivated;
#endregion
#region Methods
void Activate();
void DeActivate();
void FillDataTable(string xmlstr, params string[] args);
void GetTorrentsList(string source, string uri, CancellationToken t);
void Initalize(Form OwnerForm, params object[] args);
DynamicObjectData GetObjectData(DataRow row, HttpRequestCacheLevel cache);
string ParseURI(ref Navigation.ParseOptions options);
#endregion
#region Properties
bool CanPost { get; set; }
bool Initalized { get; set; }
bool LoginRequired { get; set; }
CookieContainer Cookie { get; set; }
ParserConfig Config { get; set; }
ParserURIs Refs { get; set; }
ParserData Data { get; set; }
Image FavIcon { get; set; }
string CookieFile { get; }
string Host { get; set; }
string Name { get; set; }
string ThumbnailDirectory { get; }
#endregion
}
相关文章: