public virtual HashSet<string> GetTemplateNames() { Load(); HashSet<string> result = new HashSet<string>(); foreach (KeyValuePair<string, CompiledTemplate> e in templates) { if (e.Value != NotFoundTemplate) result.Add(e.Key); } return result; }