private void SetPagesNames() { PagesNames.Add("List_of_filename_extensions"); PagesNames.Add("List_of_filename_extensions_(A–E)"); PagesNames.Add("List_of_filename_extensions_(F–L)"); PagesNames.Add("List_of_filename_extensions_(M–R)"); PagesNames.Add("List_of_filename_extensions_(S–Z)"); }
public static string findPageByName(string requestedPage) { PagesNames pageName = HtmlPageManager.getEnumByName(requestedPage); return(HtmlPageManager.htmlPages[pageName]); }