public PType() { this.pageType = PTypeEnum.unknownPage; this.attribute = string.Empty; this.DomContainsElement = ""; this.DomContainsElementText = ""; this.DomNotContainsElement = ""; }
protected override PTypeEnum getCurrentPageType() { PTypeEnum page = PTypeEnum.unknownPage; foreach (PType p in pagesType) { if (p.IsThis(this.PageHtml, this.PageHtmlDocument)) { page = p.pageType; break; } } return(page); }