public WebsiteHost() { _meta = new MetaSection(); _host = new MainSection(); _title = new HostSection(); _chapters = new ChapterSection(); _pages = new HostSection(); _page = new HostSection(); }
public T GenericParseAction <T>(HtmlNode element, IParseDetails <T> details, IHostSection section, Func <string, T> postParse) { return(Parsing.GenericParseAction <T>(element, details, section, postParse, HostVariables)); }
// TODO: Refactor into a more palatable method, please... public static T GenericParseAction <T>(HtmlNode element, IParseDetails <T> details, IHostSection section, Func <string, T> postParse, Dictionary <string, string> hostVariables) { return(SectionGenericParseAction(element, details, section.ParseRegex, section.ParseReplace, postParse, hostVariables)); }