public static Header ReadHeader(string path) { var pageString = File.ReadAllText(path); var reader = new TextHeaderReader(pageString); var header = new Header(); reader.LoadHeader(header); return(header); }
public TextPageReader(string pageText) { PageText = pageText; HeaderReader = new TextHeaderReader(PageText); }