public void RenderAll() { lock (Sync) { Dictionary <string, string> hashes = GetHashes(); var pages = _service.GetPages(); foreach (PageDetails page in pages) { PageContent content = _service.GetPageContent(page.OriginalId); var hash = StringHasher.Hash(content.ConcatMarkDown()); if (hashes.ContainsKey(page.Id)) { if (hash == hashes[content.Id]) { continue; } } hashes[content.Id] = hash; RenderPage(content); } WriteHashes(hashes); } }