public static IEnumerable <IHtmlMarkup> Parse(this IHtmlSeperator seperator, string content) { var c = new HtmlContent(content); c.JumpLast(); return(seperator.Parse(c)); }
public static bool CanParse(this IHtmlSeperator seperator, string content) { var c = new HtmlContent(content); c.JumpLast(); return(seperator.CanParse(c)); }
private static IHtmlSeperator Iterate(IHtmlSeperator seperator) { return(new SeperatorIterator(seperator)); }
public SeperatorDecorator(IHtmlSeperator seperator) { this._seperator = seperator; }
public HtmlCodeSeperator() { this._elementSeperator = new ElementSeperator(); }
public HtmlCodeSeperator(IHtmlSeperator mainSeperator) { this._elementSeperator = new ElementSeperator(mainSeperator); }
public static bool CanParse(this IHtmlSeperator seperator, IHtmlContent content) { return(seperator.Parse(content).IsSuccess); }
public static IEnumerable <IHtmlMarkup> ParseFromOrigin(this IHtmlSeperator seperator, string content) { return(seperator.Parse(new HtmlContent(content))); }
public ElementSeperator() { this._mainSeperator = new EmptySeperator(); }
public ElementSeperator(IHtmlSeperator seperator) { this._mainSeperator = seperator; }
public SeperatorIterator(IHtmlSeperator seperator) { this._seperator = seperator; }
public MustTagCloseDecorator(string[] tagNames, IHtmlSeperator seperator) : base(seperator) { this._tagNames = tagNames; }